Skip to content

niri: 25.01 -> 25.02 BACKPORT 24.11 #702

niri: 25.01 -> 25.02 BACKPORT 24.11

niri: 25.01 -> 25.02 BACKPORT 24.11 #702

Workflow file for this run

name: "No channel PR"
on:
pull_request_target:
# Re-run should be triggered when the base branch is updated, instead of silently failing
types: [opened, synchronize, reopened, edited]
branches:
- 'nixos-**'
- 'nixpkgs-**'
permissions: {}
jobs:
fail:
name: "This PR is is targeting a channel branch"
runs-on: ubuntu-24.04
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