Skip to content

Commit

Permalink
Trigger CI on push to master and on PR
Browse files Browse the repository at this point in the history
Problem: CI is triggered only on push, so it won't work in case of
PRs from forks.
Solution: trigger it on PRs as well. Trigger on push only when the
branch is master.
If you want to run on push to your feature branch, you can edit
check.yml in your branch.
  • Loading branch information
gromakovsky committed Jul 8, 2024
1 parent 6edacff commit 77416eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
#
# SPDX-License-Identifier: MPL-2.0
name: Nix flake check
on: push
on:
- pull_request
- push:
branches: master

jobs:
validate:
Expand Down

0 comments on commit 77416eb

Please sign in to comment.