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:
19 files changed
+95
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user