From 8d620d5db8aa1435efc834762d99bfb1e783c6e9 Mon Sep 17 00:00:00 2001 From: Leonardo Petrora <29212725+lpetrora@users.noreply.github.com> Date: Tue, 5 Nov 2024 09:58:24 +0100 Subject: [PATCH] Skip signed plugin build on pull requests A pull request from a fork is not able to build the signed plugin due to the secret API KEY, so this step should be skipped. In other instances, like releases and daily builds, the signed plugin should be created. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a7397b..bfbd734 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,7 @@ jobs: uses: actions/checkout@v4 - name: Build frontend signed + if: (github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == github.repository) id: build-signed uses: ./.github/build/ env: @@ -83,6 +84,7 @@ jobs: signed: true validate-plugin: + if: (github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == github.repository) runs-on: ubuntu-latest needs: build steps: