Skip to content

Commit 8d620d5

Browse files
committed
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.
1 parent 268bf54 commit 8d620d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
uses: actions/checkout@v4
7575

7676
- name: Build frontend signed
77+
if: (github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == github.repository)
7778
id: build-signed
7879
uses: ./.github/build/
7980
env:
@@ -83,6 +84,7 @@ jobs:
8384
signed: true
8485

8586
validate-plugin:
87+
if: (github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == github.repository)
8688
runs-on: ubuntu-latest
8789
needs: build
8890
steps:

0 commit comments

Comments
 (0)