Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f595af

Browse files
authored
Exclude Dependabot PRs from help checkout
Dependabot does not have access to the external help repo.
1 parent81ff0c0 commit6f595af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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
# Forks do not have access to an appropriate token for the help files
84-
if:!github.event.pull_request.head.repo.fork
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 && 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)

[8]ページ先頭

©2009-2025 Movatter.jp