File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ jobs:
128128 echo "| **Workflow** | ${{ github.workflow }} |"
129129 echo "| **Run Number** | ${{ github.run_number }} |"
130130 echo "| **Trigger** | ${{ github.event_name }} |"
131+ echo "| **Source** | ${{ github.event.pull_request.head.repo.full_name == github.repository && 'Internal' || 'Fork' }} |"
131132 echo ""
132133
133134 # Process cache statistics if available
Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ jobs:
229229 gitleaks :
230230 name : 🕵️ Run Gitleaks (Secret Scan)
231231 runs-on : ${{ inputs.primary-runner }}
232+ if : github.event.pull_request.head.repo.full_name == github.repository
232233 steps :
233234 # ————————————————————————————————————————————————————————————————
234235 # Parse environment variables
Original file line number Diff line number Diff line change @@ -640,7 +640,8 @@ jobs:
640640 contents : write
641641 if : |
642642 github.event.action == 'closed' &&
643- github.event.pull_request.merged == true
643+ github.event.pull_request.merged == true &&
644+ github.event.pull_request.head.repo.full_name == github.repository
644645 outputs :
645646 branch-deleted : ${{ steps.delete.outputs.branch-deleted }}
646647
@@ -755,6 +756,7 @@ jobs:
755756 echo "**📋 PR:** #$PR_NUMBER - $PR_TITLE" >> $GITHUB_STEP_SUMMARY
756757 echo "**🎬 Action:** $PR_ACTION" >> $GITHUB_STEP_SUMMARY
757758 echo "**👤 Author:** @$PR_AUTHOR" >> $GITHUB_STEP_SUMMARY
759+ echo "**🔗 Source:** ${{ github.event.pull_request.head.repo.full_name == github.repository && 'Internal' || 'Fork' }}" >> $GITHUB_STEP_SUMMARY
758760 echo "" >> $GITHUB_STEP_SUMMARY
759761
760762 # Show results based on action type
You can’t perform that action at this time.
0 commit comments