Skip to content

Commit

Permalink
unblock CI concurrency.
Browse files Browse the repository at this point in the history
The original rules were copied from LLVM.  However
these rules are too restrictive in practice when
lots of PRs are in flight.
  • Loading branch information
stephenneuendorffer committed Jun 5, 2024
1 parent 60f09ed commit a25cf0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/amd-aie-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ on:
- 'aie-public'

concurrency:
# Skip intermediate builds: always.
# A PR number if a pull request and otherwise the commit hash. This cancels
# queued and in-progress runs for the same PR (presubmit) or commit
# (postsubmit).
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/amd-upstream-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ on:
- 'aie-public'

concurrency:
# Skip intermediate builds: always.
# A PR number if a pull request and otherwise the commit hash. This cancels
# queued and in-progress runs for the same PR (presubmit) or commit
# (postsubmit).
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
Expand Down

0 comments on commit a25cf0a

Please sign in to comment.