Skip to content

Commit

Permalink
ci: run CI on PRs and limit push event to protected branches
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]: danth#749 (comment)

Fixes: 2b85a56 ("ci: simplify workflows")
  • Loading branch information
trueNAHO committed Jan 6, 2025
1 parent 7dfcdb4 commit 9bfb3f7
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 9bfb3f7

Please sign in to comment.