Skip to content
Discussion options

You must be logged in to vote

To solve this you can use concurency groups either on the job level or on the workflow level. For you, probably the latter, for example

name: merge ci stuff
concurrency:
  group: ${{ github.workflow }}

which should only let workflows that fit this group run one at a time

you can also cancel runs from the same group when a new one is queued using cancel-in-progress: true

You can find examples for cuncurency groups here

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@GORA-SAG
Comment options

@Yarden-zamir
Comment options

@rpratama-codes
Comment options

@whyredfire
Comment options

@a-ShivamSrivastava
Comment options

Answer selected by GORA-SAG
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage
6 participants