Skip to content

Commit

Permalink
Do not build docker image for users that do not have permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Sep 2, 2024
1 parent c900aed commit c73fc0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ jobs:
name: Build docker image
runs-on: ubuntu-latest
needs: build-linux
# Skip everything for PR authors that do not have permission to access secrets
if: ${{ github.event.pull_request.author_association != 'COLLABORATOR' && github.event.pull_request.author_association != 'OWNER' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit c73fc0d

Please sign in to comment.