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

Cancel previous workflows on push #2455

Open
1 of 5 tasks
Rot127 opened this issue Aug 25, 2024 · 0 comments
Open
1 of 5 tasks

Cancel previous workflows on push #2455

Rot127 opened this issue Aug 25, 2024 · 0 comments
Labels
enhancement Testing Test related issue
Milestone

Comments

@Rot127
Copy link
Collaborator

Rot127 commented Aug 25, 2024

Feature

  • New architecture module
  • Support for processor extension
  • Add more instruction details (elaborated below)
  • Binding support for: language
  • Other (elaborated below)

Describe the feature you'd like

Pushing to a PR which has still running workflows, doesn't stop those workflows.
This wastes a lot of our Action minutes. We should add:

# Stop previous runs on the same branch on new push
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ !contains(github.ref, 'release/')}}

This example would require that the release is in it's own release/... branch. So on the release branch nothing gets canceled.

Additional context

Docs: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency

@Rot127 Rot127 added enhancement Testing Test related issue labels Aug 25, 2024
@Rot127 Rot127 added this to the v6 - Beta milestone Aug 25, 2024
@Rot127 Rot127 changed the title [Testing] Cancel previous workflows on push Cancel previous workflows on push Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Testing Test related issue
Projects
None yet
Development

No branches or pull requests

1 participant