Commit 7085643
committed
fix(ci): fix workflow failures for Dependabot PRs
- on_new_pr.yml: add checkout step before local composite action usage in
enable-auto-merge and auto_approve_dependabot jobs; pull_request_target
runs with an empty workspace so local actions are unresolvable without
an explicit checkout
- pr-lint.yml: skip SOURCE_PUSH_TOKEN check for dependabot[bot] actor and
fall back to github.token for super-linter so lint-code passes on
Dependabot PRs where Actions secrets are unavailable
- build-and-publish-pre-release.yml: skip build-pre-release job for
dependabot/* branches; Dependabot pushes run in a restricted secret
context where SOURCE_PUSH_TOKEN is unavailable, causing the required
check to fail
- pr-code-review-and-approve.yml: fall back to github.token when
SOURCE_PUSH_TOKEN is not set so the Copilot review request does not
error on missing required input
Prompt: Work on pull request #615 in credfeto/scripts. Fix CI failures for Dependabot PRs.1 parent 3875162 commit 7085643
4 files changed
Lines changed: 18 additions & 3 deletions
File tree
- .github/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| |||
42 | 49 | | |
43 | 50 | | |
44 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
45 | 59 | | |
46 | 60 | | |
47 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
| |||
424 | 425 | | |
425 | 426 | | |
426 | 427 | | |
427 | | - | |
| 428 | + | |
428 | 429 | | |
429 | 430 | | |
430 | 431 | | |
| |||
0 commit comments