Repository navigation
CI: Pin Pullfrog's setup actions, verify rustup in the FFmpeg builds and add a Plumber check with its badge - #13342
Closed
Totara-thib wants to merge 4 commits into
Closed
Totara-thib wants to merge 4 commits into
Totara-thib wants to merge 4 commits into
Conversation
setup-bun and caching-for-turbo run in the Pullfrog job before the agent does, next to nine API keys and a token that can push. Every other workflow already references them by commit since #12315, at these same versions. This job was the last place where they were still tags, which their owners can move. Only the two lines added on top of the generated workflow change. The Pullfrog action itself stays on its v0 tag, as its header asks.
Both macOS jobs piped https://sh.rustup.rs straight into a shell. Whatever that URL serves at build time runs on the runner that compiles and uploads the FFmpeg archives. The jobs now download rustup-init 1.29.3 for their own target from the rustup archive, compare it with the SHA-256 published next to it and only then run it with the same -y flag. A new rustup release is a version and two checksums to update.
The two macOS jobs check the repository out and then compile sources they clone from other hosts. Neither job pushes with git, so the token the checkout stores in the git config was only there to be read. The other checkouts lost it in #12315, this workflow arrived after that.
A small workflow runs the Plumber CLI on pushes to main and on pull requests. It reads the workflow files for the classes the previous commits and #12315 fixed (actions on movable tags, an install script run unchecked, tokens left in checkouts) and fails under 85 points, so one small finding never blocks a pull request. The action is referenced by commit like the other third-party actions here. The overlay keeps the built-in defaults and adds the three action owners this repository already uses. The README gets the score badge at the end of the badge row.
Contributor
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes across the CI workflows, Plumber configuration, and README.
- FFmpeg builds: Verify the pinned rustup installers and avoid persisting checkout credentials.
- Pullfrog workflow: Pin the Bun setup and Turbo caching actions to commits.
- Plumber: Add a scored CI check, configuration overlay, and README badge.
gpt-6.1-terra | 𝕏
Member
|
Thanks, we actually never felt that itch and the need to add this, and this feels biased. |
Contributor
Author
I understand, no worries. Can you tell me why it feels biased? Could be an opportunity to improve |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Hi again! Follows up on #12315, merged earlier.
Since then three things crept back on main. This fixes them and adds the Plumber check that found them.
pullfrog.yml:setup-bunandcaching-for-turbo, the last actions on movable tags, run next to nine API keys and a push token. They get the commits used elsewhere. The Pullfrog action stays onv0, as its header asks.ffmpeg.yml(new): rustup-init is checked against its published SHA-256 instead of pipingsh.rustup.rsinto a shell, and both checkouts stop storing the token. A rustup update is now a version and two checksums.plumber.ymlruns on pushes to main and pull requests, gated at 85 points. main scores A 92/100 with this PR.Score badge
Like OpenSSF Scorecard: every run publishes the score, the badge shows main, a failed publish never fails CI, no token or secret needed. It reads UNKNOWN until the first run on main. Removing the
score-pushline opts out.I work on Plumber. If you do not want the tool, no hard feelings, say so and I drop the last commit, the fixes stand on their own.