[CI] Forgejo Actions e2e tests (squash) do not try in simulation
(cherry picked from commitf67a3f952c
) (cherry picked from commit23502a9b9f
) (cherry picked from commitf8f345ae18
) (cherry picked from commite00eb6d9b3
)
This commit is contained in:
parent
fd0ebd1a65
commit
f5f5eb53fa
2 changed files with 9 additions and 1 deletions
|
@ -9,6 +9,14 @@ on:
|
||||||
- docker/**
|
- docker/**
|
||||||
- .forgejo/workflows/build-release.yml
|
- .forgejo/workflows/build-release.yml
|
||||||
- .forgejo/workflows/build-release-integration.yml
|
- .forgejo/workflows/build-release-integration.yml
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- Makefile
|
||||||
|
- Dockerfile
|
||||||
|
- Dockerfile.rootless
|
||||||
|
- docker/**
|
||||||
|
- .forgejo/workflows/build-release.yml
|
||||||
|
- .forgejo/workflows/build-release-integration.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-simulation:
|
release-simulation:
|
||||||
|
|
|
@ -152,7 +152,7 @@ jobs:
|
||||||
verbose: ${{ vars.VERBOSE || 'false' }}
|
verbose: ${{ vars.VERBOSE || 'false' }}
|
||||||
|
|
||||||
- name: end-to-end tests
|
- name: end-to-end tests
|
||||||
if: ${{ secrets.TOKEN != '' }}
|
if: ${{ secrets.TOKEN != '' && vars.ROLE == 'forgejo-integration' }}
|
||||||
uses: https://code.forgejo.org/actions/cascading-pr@v1
|
uses: https://code.forgejo.org/actions/cascading-pr@v1
|
||||||
with:
|
with:
|
||||||
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
||||||
|
|
Loading…
Reference in a new issue