Skip to content

Commit 9346222

Browse files
authored
Merge pull request #16 from rvermeulen/rvermeulen/optional-external-help-file-branch
Make the external help integration optional
2 parents 2122a3d + bef014a commit 9346222

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/code-scanning-pack-gen.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ jobs:
184184
add-to-path: false
185185

186186
- name: Checkout external help files
187+
continue-on-error: true
188+
id: checkout-external-help-files
187189
uses: actions/checkout@v2
188190
with:
189191
ssh-key: ${{ secrets.CODEQL_CODING_STANDARDS_HELP_KEY }}
@@ -192,6 +194,7 @@ jobs:
192194
path: external-help-files
193195

194196
- name: Include external help files
197+
if: ${{ steps.checkout-external-help-files.outcome == 'success' }}
195198
run: |
196199
pushd external-help-files
197200
find . -name '*.md' -exec rsync -av --relative {} "$GITHUB_WORKSPACE" \;

0 commit comments

Comments
 (0)