network: simplify network interface units to make them more reliable #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "No channel PR" | |
on: | |
pull_request: | |
branches: | |
- 'nixos-**' | |
- 'nixpkgs-**' | |
permissions: | |
contents: read | |
jobs: | |
fail: | |
permissions: | |
contents: none | |
name: "This PR is is targeting a channel branch" | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
cat <<EOF | |
The nixos-* and nixpkgs-* branches are pushed to by the channel | |
release script and should not be merged into directly. | |
Please target the equivalent release-* branch or master instead. | |
EOF | |
exit 1 |