mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2025-02-15 12:32:51 -05:00
chore(ci): skip cascade if [skip cascade] is found in the PR title (#313)
## Testing This is a copy/paste of an existing pull request verified to work https://code.forgejo.org/forgejo/runner/pulls/476 ## Description 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. Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/313 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
834d6ebe2a
commit
e08f3910d3
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