Skip to content

Commit

Permalink
actions/no-channel-pr: re run when base branch is updated (#369179)
Browse files Browse the repository at this point in the history
  • Loading branch information
infinisil authored Jan 3, 2025
2 parents 013bcf2 + 3ff50a2 commit 0ac1641
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/no-channel.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: "No channel PR"

on:
pull_request:
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:
contents: read
permissions: {}

jobs:
fail:
permissions:
contents: none
name: "This PR is is targeting a channel branch"
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 0ac1641

Please sign in to comment.