Skip to content

Commit

Permalink
deal with PR concurrency in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Saimanas Enduri committed Oct 10, 2024
1 parent efbe44b commit d9535f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/kernel-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
# Runs at 12:00 PM UTC, which is 5:00 AM PST
- cron: '0 12 * * *'

concurrency:
# 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). The workflow name is prepended to avoid conflicts between
# different workflows.
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
kernel-bench:
runs-on: amdgpu-mi250-x86-64
Expand Down

0 comments on commit d9535f6

Please sign in to comment.