mirror of
https://code.forgejo.org/actions/setup-forgejo
synced 2025-03-15 06:36:58 +01:00
chore(ci): skip cascade if [skip cascade] is found in the PR title
When there are multiple PRs in flight, using a var to disable the cascading PR that eventually runs the end to end tests (for instance because the change is about examples) is error prone. Allowing each pull request to indivudually decide when it is relevant or not is more practical and fine grain.
This commit is contained in:
parent
834d6ebe2a
commit
f371cd4232
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ on:
|
|||
jobs:
|
||||
cascade:
|
||||
runs-on: docker
|
||||
if: vars.CASCADE != 'no'
|
||||
if: >
|
||||
! contains(github.event.pull_request.title, '[skip cascade]')
|
||||
steps:
|
||||
- uses: actions/cascading-pr@v1.0.1
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue