Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
26 lines
539 B
YAML
26 lines
539 B
YAML
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
|