Skip to content

ci: pin third-party actions to commit SHAs - #2178

Open
B4nan wants to merge 2 commits into
masterfrom
chore/pin-github-actions
Open

ci: pin third-party actions to commit SHAs#2178
B4nan wants to merge 2 commits into
masterfrom
chore/pin-github-actions

Conversation

@B4nan

@B4nan B4nan commented Aug 20, 2026

Copy link
Copy Markdown
Member

This pins every third-party action in the workflows to a full commit SHA, keeping the resolved version tag as a trailing comment. Renovate understands that convention and updates the SHA and comment together.

Same change as apify/crawlee#4051, rolled out team-wide. The trigger was the v11 tag of EndBug/add-and-commit moving to a broken release that failed to load and killed the crawlee publish workflow. With SHA pins, a tag moving under us, by accident or by compromise, can't break or hijack CI anymore. Where EndBug/add-and-commit is used, it's pinned to v11.0.0, the last working release.

Own-org references (apify/*) stay on floating refs on purpose, since we control those repos.

Floating tags can move to broken or malicious commits, as happened with
EndBug/add-and-commit v11 (see apify/crawlee#4051). Pin all third-party
actions to full commit SHAs with the resolved version tag in a trailing
comment. Own-org (apify/*) references stay on floating refs.
@B4nan B4nan added the t-tooling Issues with this label are in the ownership of the tooling team. label Aug 20, 2026
@github-actions github-actions Bot added this to the 147th sprint - Tooling team milestone Aug 20, 2026
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.65%. Comparing base (6f0eff4) to head (6b43e38).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2178      +/-   ##
==========================================
+ Coverage   93.59%   93.65%   +0.06%     
==========================================
  Files         181      181              
  Lines       12772    12772              
==========================================
+ Hits        11954    11962       +8     
+ Misses        818      810       -8     
Flag Coverage Δ
unit 93.65% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@B4nan
B4nan requested a review from vdusek August 20, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants