Skip to content

Commit

Permalink
Skip login when the PR is from fork repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max committed Nov 13, 2024
1 parent 4170170 commit ce83759
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@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.0
Expand Down

0 comments on commit ce83759

Please sign in to comment.