Merge pull request '[CI] Forgejo Actions e2e tests (squash) do not try in simulation' (#2085) from earl-warren/forgejo:wip-release-end-to-end into forgejo-ci

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2085
Reviewed-by: Loïc Dachary <dachary@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-01-04 00:29:18 +00:00
commit f9da193055
2 changed files with 9 additions and 1 deletions

View file

@ -9,6 +9,14 @@ on:
- docker/**
- .forgejo/workflows/build-release.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:
release-simulation:

View file

@ -152,7 +152,7 @@ jobs:
verbose: ${{ vars.VERBOSE || 'false' }}
- name: end-to-end tests
if: ${{ secrets.TOKEN != '' }}
if: ${{ secrets.TOKEN != '' && vars.ROLE == 'forgejo-integration' }}
uses: https://code.forgejo.org/actions/cascading-pr@v1
with:
origin-url: ${{ env.GITHUB_SERVER_URL }}