Skip to content

Commit 765f01b

Browse files
committed
CI: Do not build and publish OCI images on GHA PRs from non-members
The OCI image build machinery can't upload to GHCR when running on behalf of non-members.
1 parent ce2d0d5 commit 765f01b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/oci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
oci:
6464
needs: build_and_test
6565
runs-on: ubuntu-latest
66+
if: ${{ ! (startsWith(github.actor, 'dependabot') || github.event.pull_request.head.repo.fork ) }}
6667

6768
steps:
6869
- name: Acquire sources

0 commit comments

Comments
 (0)