Merge pull request #10343 from Madhu-1/stop-action-when-pr-updated

ci: stop inprogress jobs when pr is updated
This commit is contained in:
Travis Nielsen authored and GitHub committed 2022-05-31 09:16:10 -06:00
commit f7930455c4
19 files changed
+95

No files matched your search

+5
View File
@@ -11,6 +11,11 @@ on:
- master
- release-*
# cancel the in-progress workflow when PR is refreshed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-18.04