Skip to content

Conversation

@Ayushmore1214
Copy link
Contributor

What this PR does:

  • Adds workflow concurrency to cancel in-progress test and lint runs
    when new commits are pushed to the same branch or pull request.
    Why we need it:

Which issue(s) this PR fixes:
Reduces unnecessary CI usage

Does this PR introduce a user-facing change?:No

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

@eeshaanSA
Copy link
Contributor

cc @khanhtc1202 @Warashi

- 'feat/*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ayushmore1214 Should we change this condition to ensure commit to master and release-* branches are already tested (no skip)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point — agreed 👍

- "feat/*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Ayush More <[email protected]>
Signed-off-by: Ayush More <[email protected]>
@Ayushmore1214
Copy link
Contributor Author

@khanhtc1202 made the changes !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Cancel in-progress workflows on new commits to improve efficiency

3 participants