ci: only trigger on push to master to avoid duplicate PR runs

These workflows triggered on both push and pull_request with no branch
filter, so every push to a PR branch ran each workflow twice. Restrict the
push trigger to master; pull_request already covers PR branches.
This commit is contained in:
Alex
2026-07-05 10:10:04 +02:00
parent 93cabeefc2
commit fc297a7df3
4 changed files with 13 additions and 3 deletions
+1
View File
@@ -2,6 +2,7 @@ name: "Nix-Tests"
on:
pull_request:
push:
branches: [master]
concurrency:
group: ${{ github.workflow }}-nix-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true