Skip to content

Commit ca5d586

Browse files
committed
👷 github: workflows: reuse: Avoid running twice on PRs
It should run only on any PRs against main, and on pushes to main itself now. Suggested-by: Stefan Haun <[email protected]> Link: #26 (comment) Link: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow
1 parent e687e17 commit ca5d586

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/reuse.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
---
44
name: REUSE Compliance Check
55

6-
on: [push, pull_request]
6+
on:
7+
push:
8+
branches:
9+
- main
10+
pull_request:
11+
branches:
12+
- main
713

814
permissions:
915
contents: read

0 commit comments

Comments
 (0)