From f67a3f952cac7b9390b9dd2752bdf215a82e04b0 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 4 Jan 2024 00:56:17 +0100 Subject: [PATCH] [CI] Forgejo Actions e2e tests (squash) do not try in simulation --- .forgejo/workflows/build-release-integration.yml | 8 ++++++++ .forgejo/workflows/build-release.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build-release-integration.yml b/.forgejo/workflows/build-release-integration.yml index 89155e9d59..32e67964ba 100644 --- a/.forgejo/workflows/build-release-integration.yml +++ b/.forgejo/workflows/build-release-integration.yml @@ -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: diff --git a/.forgejo/workflows/build-release.yml b/.forgejo/workflows/build-release.yml index ab773f8579..e02bf15901 100644 --- a/.forgejo/workflows/build-release.yml +++ b/.forgejo/workflows/build-release.yml @@ -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 }}