Commit 1d0f681
committed
Ignore failed integration test workflow job for Dependabot PRs
The integration test workflow requires the GITHUB_TOKEN token to have write permissions in order to make the report
comment.
Because the token only has read permissions when the workflow is triggered by a PR from a fork, the job is configured to
pass even though the action run step fails (it is intentionally run instead of being skipped because it can still
provide some validation even if it is expected to fail).
Currently the workflow is configured to require the step to pass when a PR is submitted from a local branch, since the
token has write permissions in that case. However, there is one exception: when the PR is submitted by Dependabot, the
token permissions are downgraded.
So the workflow must be configured to treat the PRs from Dependabot in the same manner as PRs from forks1 parent 133a7df commit 1d0f681
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
53 | 64 | | |
54 | 65 | | |
0 commit comments