Skip to content

Commit

Permalink
ci: run CI on PRs and limit push event to protected branches (#751)
Browse files Browse the repository at this point in the history
Run the CI on PRs, while preventing it from running twice for non-fork
PRs by limiting the push event to protected branches. [1]

This restores the workflow trigger that was accidentally modified in
commit 2b85a56 ("ci: simplify workflows").

[1]: #749 (comment)
  • Loading branch information
trueNAHO authored Jan 6, 2025
1 parent a6b53aa commit 284c5b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Check

on: # yamllint disable-line rule:truthy
push:
branches:
- master
- release-**
pull_request:

permissions:
contents: read
Expand Down

0 comments on commit 284c5b0

Please sign in to comment.