Giter Site home page Giter Site logo

Comments (5)

bdrelling avatar bdrelling commented on June 17, 2024 1

Also seeing this issue as of 10 minutes ago. I investigated that it was properly receiving the github.token parameter as well.

On that note, I'm taking this opportunity to finally migrate to the new concurrency system as it meets my needs, related to #191.

@styfle thank you for this repo! It has been in every workflow I've set up in GitHub Actions. It worked wonderfully. 🙂

from cancel-workflow-action.

johnmberger avatar johnmberger commented on June 17, 2024 1

Following up -

Definitely want to thank @styfle for this awesome action too -- I moved to concurrency by adding something like this to the top level of my action instead of using cancel-workflow-action.

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

from cancel-workflow-action.

johnmberger avatar johnmberger commented on June 17, 2024 1

@shirady , this action's purpose was to make sure you were able to cancel an outdated workflow if you pushed changes to the same branch. Github now has this exact functionality baked into Github Actions, and it's called concurrency.

Basically, instead of using this action, you can add the concurrency key to you Github Action files to control if they'll get cancelled when you push new code. The other advantage of using concurrency is that you can customize "concurrency groups" to determine what gets cancelled and when.

Check out this release announcement blog post or Github's documentation or search Stack Overflow for more examples.

from cancel-workflow-action.

johnmberger avatar johnmberger commented on June 17, 2024

Also seeing this issue

from cancel-workflow-action.

shirady avatar shirady commented on June 17, 2024

@johnmberger @bdrelling @styfle
Would you please explain what concurrency is? and what happened to this repo that you recommended on the other one?
I thought about implementing this step in all our workflows, so I want to understand...
Thnaks

from cancel-workflow-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.