Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/github-docker-registry-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
steps:
- name: Check if PR is from a fork
# This step checks if the pull request is from a fork
# Fixed: Check event type before accessing pull_request fields to prevent
# IS_FORK being incorrectly set to true for push events (issue #20105424925)
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
if [ '${{ github.event.pull_request.head.repo.full_name }}' != '${{ github.repository }}' ]; then
Expand Down
Loading