Repository navigation
Pin workflow actions to commit SHAs - #269
Conversation
Every workflow run now fails before it starts:
The action actions/github-script@v7 is not allowed in oven-sh/WebKit
because all actions must be pinned to a full-length commit SHA.
Pin each action to the commit its current tag points at, so nothing changes
except the form of the reference. The version is kept in a trailing comment.
|
Warning Review limit reached
Next review available in: 27 seconds Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
Comment |
There was a problem hiding this comment.
LGTM — mechanical tag→SHA pin to satisfy the new org policy, no behavior change.
Extended reasoning...
Overview
This PR touches only .github/workflows/build-preview.yml and .github/workflows/build-reusable.yml, replacing every uses: <action>@vN reference with uses: <action>@<full-sha> # vN.M.P. Six actions are affected (checkout, upload-artifact, download-artifact, github-script, docker/setup-buildx-action, softprops/action-gh-release). No step logic, inputs, permissions, or job structure changed — the diff is a pure re-spelling of the action reference on each uses: line. The third workflow file (build.yml) only references the local reusable workflow and needed no change.
Security risks
None introduced; if anything this is a security hardening. Pinning to immutable commit SHAs removes the risk of a mutable tag being repointed upstream. The SHAs are documented in the PR description as the commits the current tags resolve to, and the Preview Build on this PR self-verifies that they resolve and run.
Level of scrutiny
Low. This is a mechanical CI configuration change forced by an org-level Actions policy ("all actions must be pinned to a full-length commit SHA") that is currently blocking every workflow run in the repo. There are no logic or version changes to reason about, and correctness is directly observable from CI on the PR itself.
Other factors
No bugs were found by the automated review, there are no outstanding reviewer comments, and I have not reviewed this PR before. The change unblocks the autobuild release pipeline that downstream Bun depends on, so it is time-sensitive but low-risk.
Preview Builds
|
Every Actions run in this repo currently dies in
Prepare all required actions:The last Preview Build that got past that point started 2026-07-02T01:39Z; everything from 17:17Z onward fails the same way, including on PRs that touch nothing but C++.
build-reusable.ymlhas the same unpinneduses:, so theautobuild-<sha>release on merge tomainis blocked too, which blocks bumpingWEBKIT_VERSIONin bun.This pins each action to the commit its current tag points at, so behavior is unchanged and only the form of the reference moves:
actions/checkout34e114876b0b11c390a56381ad16ebd13914f8d5actions/download-artifactd3f86a106a0bac45b974a628896c90dbdf5c8093actions/upload-artifactea165f8d65b6e75b540449e92b4886f43607fa02actions/github-scriptf28e40c7f34bde8b3046d885e986cb6290c5673bdocker/setup-buildx-action885d1462b80bc1c1c7f0b00334ad271f09369c55softprops/action-gh-releasede2c0eb89ae2a093876385947365aca7b0e5f844v1points at today)No version bumps, no other changes. The version stays in a trailing comment on each line. If this PR's own Preview Build goes green, the policy is satisfied.