File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,16 @@ jobs:
33
33
- name : Run action
34
34
# Use arduino/report-size-deltas action from local path
35
35
uses : ./
36
- # The action will always fail on PRs submitted from forks due to not having write permissions.
36
+ # The action will always fail on PRs submitted from forks or by Dependabot due to not having write permissions.
37
37
# Some verification can still be achieved by checking the log to see whether it failed in the expected manner:
38
38
# WARNING:__main__:Temporarily unable to open URL (HTTP Error 403: Forbidden), retrying
39
39
# ...
40
40
# TimeoutError: Maximum number of URL load retries exceeded
41
- continue-on-error : ${{ github.event.pull_request.head.repo.full_name != github.repository }}
41
+ continue-on-error : >-
42
+ ${{
43
+ github.event.pull_request.head.repo.full_name != github.repository ||
44
+ github.triggering_actor == 'dependabot[bot]'
45
+ }}
42
46
with :
43
47
sketches-reports-source : .github/workflows/testdata/sketches-reports
44
48
50
54
uses : actions/checkout@v3
51
55
52
56
- name : Run action
57
+ # The action will always fail on pushes by Dependabot due to not having write permissions.
58
+ # Rather than skipping the job under these conditions, the failure is ignored because some verification can
59
+ # still be achieved by checking the log to see whether it failed in the expected manner:
60
+ # WARNING:__main__:Temporarily unable to open URL (HTTP Error 403: Forbidden), retrying
61
+ # ...
62
+ # TimeoutError: Maximum number of URL load retries exceeded
63
+ continue-on-error : ${{ github.triggering_actor == 'dependabot[bot]' }}
53
64
# Use arduino/report-size-deltas action from local path
54
65
uses : ./
You can’t perform that action at this time.
0 commit comments