Skip to content

Commit a76aac3

Browse files
committed
Skip login when the PR is from fork repo
1 parent 6a32527 commit a76aac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
username: ${{ github.actor }}
6161
password: ${{ secrets.ACCESS_TOKEN }}
6262
registry: ghcr.io
63-
if: ${{ github.actor != 'dependabot[bot]' }}
63+
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork == false }}
6464

6565
- name: Resolve build_ruby version
6666
uses: ruby/setup-ruby@c04af2bb7258bb6a03df1d3c1865998ac9390972 # v1.194.0

0 commit comments

Comments
 (0)