1
0
Fork 0
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:
Earl Warren 2025-01-30 16:57:28 +01:00
parent 834d6ebe2a
commit f371cd4232
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -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: