Skip to content

Commit

Permalink
rename CI concurrent group, cancel concurrent downstream (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Jun 13, 2023
1 parent c19bbae commit 29c38df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: CI

concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }}
cancel-in-progress: true

on:
push:
branches:
- master
pull_request:

jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: IntegrationTest

concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }}
cancel-in-progress: true

on:
push:
branches: [master]
Expand Down

0 comments on commit 29c38df

Please sign in to comment.