Skip to content

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

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

ci: pin third-party actions to commit SHAs#1024
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 94.95%. Comparing base (5196b25) to head (d525e7f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1024   +/-   ##
=======================================
  Coverage   94.95%   94.95%           
=======================================
  Files          58       58           
  Lines        5436     5436           
=======================================
  Hits         5162     5162           
  Misses        274      274           
Flag Coverage Δ
integration 91.51% <ø> (-0.21%) ⬇️
unit 85.81% <ø> (ø)

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 11:28
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