5b567aa208
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
21 lines
470 B
YAML
21 lines
470 B
YAML
name: "No channel PR"
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'nixos-**'
|
|
- 'nixpkgs-**'
|
|
|
|
jobs:
|
|
fail:
|
|
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
|