Switch to variant of "Compile Examples" workflow for public repos #56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Initial development of the project was done in a private repository. In that environment, the most efficient configuration of the workflow is done by running the
arduino/report-size-deltasaction from a job in the same workflow, and so the workflow was configured that way.However, that configuration is not suitable for use in a public repository. The reason is that the deltas report comment requires a GitHub access token with write permissions and the token does not have such permissions when the "Compile Examples" workflow is triggered by events in a pull request from a fork. For this reason, it is now necessary to run the
arduino/report-size-deltasaction from a dedicated scheduled workflow, which will always have write permissions.