Skip to content

Commit

Permalink
Trigger CI on push and 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. The drawback is that it may
run twice, but this repo is not actively worked on and doesn't have
much code, so it sounds fine.
  • Loading branch information
gromakovsky committed Jul 8, 2024
1 parent 6edacff commit 21c5a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: MPL-2.0
name: Nix flake check
on: push
on: [push, pull_request]

jobs:
validate:
Expand Down

0 comments on commit 21c5a41

Please sign in to comment.