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
+4 -1
View File
@@ -1,6 +1,9 @@
name: linux
on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.workflow }}-linux-${{ github.event.pull_request.number || github.ref }}