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
+3 -3
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: