Skip to content

Commit

Permalink
CI: Do not build and publish OCI images on GHA PRs from non-members
Browse files Browse the repository at this point in the history
The OCI image build machinery can't upload to GHCR when running on
behalf of non-members.
  • Loading branch information
amotl committed Jun 26, 2023
1 parent ce2d0d5 commit 765f01b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
oci:
needs: build_and_test
runs-on: ubuntu-latest
if: ${{ ! (startsWith(github.actor, 'dependabot') || github.event.pull_request.head.repo.fork ) }}

steps:
- name: Acquire sources
Expand Down

0 comments on commit 765f01b

Please sign in to comment.