InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.68k stars 916 forks source link

Comment build size on all PRs #1564

Closed Riksu9000 closed 1 year ago

Riksu9000 commented 1 year ago

This works by uploading the data from the main workflow with low permissions as an artifact, then downloading the data in a workflow with higher permissions to post the comment.

Third party actions are fixed at a commit, in case they get compromised.

Also set the build-firmware VM to ubuntu-22.04, which was missed when updating workflow deps earlier.

This will not run on this PR, because pull_request_target runs in the context of the base branch, but this file doesn't yet exist in develop.