You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the Compile Examples workflow for the deltas report
Using a scheduled workflow for the size deltas report is not appropriate in private repositories because it uses a lot
of minutes and, unlike public repositories, private repositories have a limited allotment of free GitHub Actions
minutes.
The `report-size-deltas` job is configured for use in private repositories which don't have the "Send write tokens to
workflows from fork pull requests" setting enabled. This means that PRs submitted from forks won't get size deltas
reports. If reports on PRs from forks are wanted, the repository can be configured to provide them with write tokens and
the workflow adjusted so the job will run on PRs from forks
Once the repository is made public, the workflow should be reconfigured to provide size deltas reports on PRs from
forks.
More information:
https://github.com/arduino/report-size-deltas#sketches-reports-source
- name: Save memory usage change report as artifact
93
99
if: github.event_name == 'pull_request'
94
100
uses: actions/upload-artifact@v2
95
101
with:
96
-
name: 'size-deltas-reports'
97
-
path: 'size-deltas-reports'
102
+
name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
103
+
path: ${{ env.SKETCHES_REPORTS_PATH }}
104
+
105
+
report-size-deltas:
106
+
needs: compile-test
107
+
# Only run the job when the workflow is triggered by a pull request from this repository (because arduino/report-size-deltas requires write permissions)
0 commit comments