Restrict push trigger to master to avoid duplicate CI runs

Previously every branch push triggered both the push and pull_request
workflows when a PR was open. Limiting push to master means branch
pushes only trigger via pull_request.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kamil Kokot
2026-06-12 12:31:43 +02:00
parent 4f6a7b0d0f
commit 590bd4b228

View File

@@ -2,6 +2,8 @@ name: Build
on:
push:
branches:
- master
pull_request:
release:
types: [created]