mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:03:22 +00:00
b8297c00c9
* ci: add no-channel check * Update .github/workflows/no-channel.yml Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com> Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
22 lines
470 B
YAML
22 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
|