Skip to content

Commit 493822c

Browse files
authored
Merge pull request #79 from ono-max/change-event
Skip login when the PR is from fork repo
2 parents ac35261 + ce83759 commit 493822c

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
@@ -61,7 +61,7 @@ jobs:
6161
username: ${{ github.actor }}
6262
password: ${{ secrets.ACCESS_TOKEN }}
6363
registry: ghcr.io
64-
if: ${{ github.actor != 'dependabot[bot]' }}
64+
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork == false }}
6565

6666
- name: Resolve build_ruby version
6767
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0

0 commit comments

Comments
 (0)