-
Notifications
You must be signed in to change notification settings - Fork 6
Replace the cancel previous run by the concurrency #324
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
base: develop
Are you sure you want to change the base?
Conversation
@@ -15,17 +15,16 @@ env: | |||
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |||
HEROKU_APP_NAME: ${{ secrets.HEROKU_APP_NAME }} | |||
|
|||
concurrency: | |||
group: ${{ github.workflow }}-${{ github.ref }} | |||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall we cancel it on the develop
branch as well 🤔 because we deploy to Staging from the develop
4ccb1bb
to
6b15723
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@byhbt let's complete this PR as there is not much left to do, no?
yup, i was checking about the Andy suggestion 😅 , let me update it and make it ready for review today or tomorrow. |
What happened 👀
Cancel Previous Runs
in all the workflow. Replace it by theconcurrency
groupInsight 📝
As the suggestion from the creator of
Cancel Previous Runs
:Reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
Proof Of Work 📹