Skip to content

Commit

Permalink
CI: cancel older concurrent PR runs
Browse files Browse the repository at this point in the history
Remove the space in the workflow name to ensure there are no side
effects when using it as an identifier.

Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
axel-h committed Apr 1, 2024
1 parent 2b96ef9 commit ad6d875
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sel4bench-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Build and run sel4bench on pull requests

name: seL4Bench PR
name: seL4Bench-PR

on:
pull_request_target:
Expand All @@ -16,6 +16,12 @@ on:
permissions:
contents: read

# Cancel older runs of this workflow that are still not finished for the
# current PR. This reduces the CI load.
concurrency:
group: ${{ github.workflow }}-pr-${{ github.event.number }}
cancel-in-progress: true

jobs:
code:
name: Freeze Code
Expand Down

0 comments on commit ad6d875

Please sign in to comment.