mirror of
https://github.com/serokell/haskell-with-utf8.git
synced 2024-10-26 07:51:16 +03:00
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:
parent
6edacff35c
commit
6902102355
5
.github/workflows/check.yml
vendored
5
.github/workflows/check.yml
vendored
@ -2,7 +2,10 @@
|
||||
#
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
name: Nix flake check
|
||||
on: push
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: master
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
|
Loading…
Reference in New Issue
Block a user