Skip to content

Commit 4d6dd91

Browse files
authored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 5a9d84a commit 4d6dd91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/zizmor.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242

4343
- name: Upload SARIF results to code scanning
44-
if: always()
44+
if: always() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
4545
uses: github/codeql-action/upload-sarif@v3
4646
with:
4747
sarif_file: zizmor.sarif

0 commit comments

Comments
 (0)