Skip to content

Commit b952fc8

Browse files
committed
Use expression syntax
1 parent b68aeaa commit b952fc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Checkout external help files
8282
id: checkout-external-help-files
8383
# PRs from forks and dependabot do not have access to an appropriate token for cloning the help files repos
84-
if: !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]'
84+
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
8585
uses: actions/checkout@v4
8686
with:
8787
ssh-key: ${{ secrets.CODEQL_CODING_STANDARDS_HELP_KEY }}
@@ -90,7 +90,7 @@ jobs:
9090
path: external-help-files
9191

9292
- name: Include external help files
93-
if: !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]'&& steps.checkout-external-help-files.outcome == 'success'
93+
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]'&& steps.checkout-external-help-files.outcome == 'success' }}
9494
run: |
9595
pushd external-help-files
9696
find . -name '*.md' -exec rsync -av --relative {} "$GITHUB_WORKSPACE" \;

0 commit comments

Comments
 (0)