summaryrefslogtreecommitdiff
path: root/.github/workflows/reuse.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/reuse.yml')
-rw-r--r--.github/workflows/reuse.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml
index 23e019fc8..c9fb48ca6 100644
--- a/.github/workflows/reuse.yml
+++ b/.github/workflows/reuse.yml
@@ -6,8 +6,6 @@
name: REUSE compliance
on:
- # Trigger the workflow on push or pull requests, but only for the
- # master branch
push:
branches:
- master
@@ -16,6 +14,10 @@ on:
branches:
- master
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
+ cancel-in-progress: true
+
jobs:
check:
runs-on: ubuntu-latest