Skip to content

Commit

Permalink
Merge pull request #79 from ono-max/change-event
Browse files Browse the repository at this point in the history
Skip login when the PR is from fork repo
  • Loading branch information
ono-max authored Nov 13, 2024
2 parents ac35261 + ce83759 commit 493822c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.ACCESS_TOKEN }}
registry: ghcr.io
if: ${{ github.actor != 'dependabot[bot]' }}
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.head.repo.fork == false }}

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

0 comments on commit 493822c

Please sign in to comment.