workflows/no-channel: run again when base changed (#404461)

This commit is contained in:
Jörg Thalheim 2025-05-05 21:54:29 +02:00 committed by GitHub
commit 79a02a3dfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,14 +4,14 @@ 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:
if: |
startsWith(github.event.pull_request.base.ref, 'nixos-') ||
startsWith(github.event.pull_request.base.ref, 'nixpkgs-')
name: "This PR is is targeting a channel branch"
runs-on: ubuntu-24.04
steps: