Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite AutoCancelInProgressWorkflow to use built in cancellation #60

Open
yeikel opened this issue Mar 22, 2023 · 0 comments
Open

Rewrite AutoCancelInProgressWorkflow to use built in cancellation #60

yeikel opened this issue Mar 22, 2023 · 0 comments
Labels

Comments

@yeikel
Copy link
Contributor

yeikel commented Mar 22, 2023

From the docs : https://github.com/styfle/cancel-workflow-action

Warning
You probably don't need to install this custom action.

Instead, use the native concurrency property to cancel workflows, for example:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

Read GitHub's official documentation to learn more.

@yeikel yeikel changed the title Rewrite AutoCancelInProgressWorkflow to use built in cancelleation Rewrite AutoCancelInProgressWorkflow to use built in cancellation Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Recipes Wanted
Development

No branches or pull requests

2 participants