Skip to content

Commit

Permalink
.github/workflows/no-channel.yml: fix re-runs failing incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst committed Dec 29, 2024
1 parent 4168283 commit f7a887f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/no-channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
name: "This PR is is targeting a channel branch"
runs-on: ubuntu-latest
steps:
- run: |
- if: ${{ startsWith(github.base_ref, 'nixos') || startsWith(github.base_ref, 'nixpkgs') }}
run: |
cat <<EOF
The nixos-* and nixpkgs-* branches are pushed to by the channel
release script and should not be merged into directly.
Expand Down

0 comments on commit f7a887f

Please sign in to comment.