We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89bd9b4 commit 81ff0c0Copy full SHA for 81ff0c0
.github/workflows/code-scanning-pack-gen.yml
@@ -80,6 +80,8 @@ jobs:
80
81
- name: Checkout external help files
82
id: checkout-external-help-files
83
+ # Forks do not have access to an appropriate token for the help files
84
+ if: !github.event.pull_request.head.repo.fork
85
uses: actions/checkout@v4
86
with:
87
ssh-key: ${{ secrets.CODEQL_CODING_STANDARDS_HELP_KEY }}
@@ -88,7 +90,7 @@ jobs:
88
90
path: external-help-files
89
91
92
- name: Include external help files
- if: steps.checkout-external-help-files.outcome == 'success'
93
+ if: !github.event.pull_request.head.repo.fork && steps.checkout-external-help-files.outcome == 'success'
94
run: |
95
pushd external-help-files
96
find . -name '*.md' -exec rsync -av --relative {} "$GITHUB_WORKSPACE" \;
0 commit comments