Skip to content

Commit

Permalink
Skip signed plugin build on pull requests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lpetrora committed Nov 6, 2024
1 parent 268bf54 commit 8d620d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 8d620d5

Please sign in to comment.