workflows/no-channel: run again when base changed (#404461)
This commit is contained in:
commit
79a02a3dfd
6
.github/workflows/no-channel.yml
vendored
6
.github/workflows/no-channel.yml
vendored
@ -4,14 +4,14 @@ on:
|
|||||||
pull_request_target:
|
pull_request_target:
|
||||||
# Re-run should be triggered when the base branch is updated, instead of silently failing
|
# Re-run should be triggered when the base branch is updated, instead of silently failing
|
||||||
types: [opened, synchronize, reopened, edited]
|
types: [opened, synchronize, reopened, edited]
|
||||||
branches:
|
|
||||||
- 'nixos-**'
|
|
||||||
- 'nixpkgs-**'
|
|
||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fail:
|
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"
|
name: "This PR is is targeting a channel branch"
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user