Skip to content

Commit

Permalink
Merge pull request #36 from herbetom/workflow-cancel-pr-in-progress
Browse files Browse the repository at this point in the history
github: build-gluon: cancel obsolete in progress workflows for PRs
  • Loading branch information
herbetom authored Nov 10, 2024
2 parents a4f91c3 + 28df431 commit 99e58b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ on:
description: 'Targets to build (space separated)'
required: false

concurrency:
# yamllint disable rule:line-length
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ github.event.pull_request.number || github.run_id }}
# yamllint enable rule:line-length
cancel-in-progress: true

jobs:
build-meta:
outputs:
Expand Down

0 comments on commit 99e58b7

Please sign in to comment.