Commit 9278f81
committed
Revert "Fix regression: report size delta size on PR. (#429)"
This partially reverts commit 836771a.
The repository infrastructure uses the "arduino/report-size-deltas" action to generate a report of the changes in memory
usage of the example sketches that would result from merging a pull request.
There are two use patterns for the "arduino/report-size-deltas" action:
* Run from a workflow triggered by a `schedule` event.
* Run from the same workflow as the "arduino/compile-sketches" action when triggered by a `pull_request` event.
The latter use pattern is only suitable for private repositories. The reason is that, when a pull request is submitted
from a fork, the permissions of the access token used by the "arduino/report-size-deltas" action are downgraded to
read-only in workflows triggered by a `pull_request` event, which means it is unable to make the report comment.
The reverted commit migrated the size deltas report infrastructure from the first use pattern to the second, which
caused the "Compile Examples" workflow runs to fail on pull requests submitted from forks:
Error: HTTPError: HTTP Error 403: Forbidden
For this reason, the infrastructure must be reverted back to using the first use pattern.1 parent 836771a commit 9278f81
File tree
2 files changed
+16
-24
lines changed- .github/workflows
2 files changed
+16
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 15 | | |
20 | | - | |
| 16 | + | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
| |||
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
| 34 | + | |
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
| |||
295 | 292 | | |
296 | 293 | | |
297 | 294 | | |
298 | | - | |
299 | 295 | | |
300 | 296 | | |
301 | 297 | | |
302 | 298 | | |
303 | 299 | | |
304 | 300 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments