Commit graph

6 commits

Author SHA1 Message Date
Riku Isokoski 9641fd7308 pr-comment: Comment instructions instead of failing 2023-03-27 19:54:36 +00:00
Finlay Davidson 3b084d74c3 branches: Update files to refer to main instead of develop 2023-03-02 09:45:47 +02:00
Riku Isokoski 81bc16fd92 workflow: Buildsize comment when simulator fails
The workflow checks that the buildsize comparison succeeds. The download
artifact step also checks that all of the main workflow succeeds. This
isn't necessary, and causes the comment not to be created when the
simulator build fails. This change disabled the success conclusion
requirement.
2023-01-31 22:38:17 +02:00
Riku Isokoski cb91943f12 workflow: Updated workflow comment for all
The previous version failed, because it looked for the check from the
branch in the fork, but looked for it in the main repo. Now uses the sha
to get the commit on which checks were run.

Previous description

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.
2023-01-31 21:56:24 +02:00
Riku Isokoski 3e964e20ac Revert "workflow: Comment build size on all PRs"
This reverts commit 012c3d25f3.
2023-01-31 09:33:56 +02:00
Riku Isokoski 012c3d25f3 workflow: Comment build size on all PRs
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.
2023-01-31 09:21:02 +02:00