Trigger CI on push to master and on PR

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.
This commit is contained in:
Ivan Gromakovskii 2024-07-08 13:55:48 +02:00 committed by Roman Melnikov
parent 6edacff35c
commit 6902102355
No known key found for this signature in database
GPG Key ID: 8931E8ED1EE2E537

View File

@ -2,7 +2,10 @@
#
# SPDX-License-Identifier: MPL-2.0
name: Nix flake check
on: push
on:
pull_request:
push:
branches: master
jobs:
validate: