Skip to content

Commit 6bcc056

Browse files
committed
Only build if the PR branch is local
1 parent 48d6a4d commit 6bcc056

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/development.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ jobs:
155155
run: npm run test:integration
156156

157157
build:
158+
# Only build if the PR branch is local
159+
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
158160
runs-on: ubuntu-latest
159161
strategy:
160162
matrix:
@@ -206,6 +208,8 @@ jobs:
206208
})
207209
208210
build-and-push-container:
211+
# Only build if the PR branch is local
212+
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
209213
runs-on: ubuntu-latest
210214
permissions:
211215
packages: write

0 commit comments

Comments
 (0)