Skip to content

security: pin GitHub Actions to SHA hashes#1697

Merged
alfondotnet merged 1 commit into
mainfrom
security/pin-actions-to-sha
Mar 25, 2026
Merged

security: pin GitHub Actions to SHA hashes#1697
alfondotnet merged 1 commit into
mainfrom
security/pin-actions-to-sha

Conversation

@alfondotnet

@alfondotnet alfondotnet commented Mar 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Pin all uses: references in GitHub Actions workflows to full SHA hashes
  • Prevents supply chain attacks via tag mutation or typosquatting

Context

Test plan

  • Verify CI passes with pinned references
  • Spot-check that pinned SHAs match expected release tags

Note

Low Risk
Low risk: only updates GitHub Actions uses: references to pinned commit SHAs, with no runtime code or business logic changes. Main risk is accidental pinning to an incorrect commit causing workflow behavior changes.

Overview
Pins GitHub Actions uses: references to immutable commit SHAs in the issue-notifications and lock workflows (replacing @v2/@v2.0.1 tags) to harden CI against tag mutation and typosquatting.

Written by Cursor Bugbot for commit 16ae2a6. This will update automatically on new commits. Configure here.

Pin all third-party GitHub Actions to full SHA references
to prevent supply chain attacks via tag manipulation or
typosquatting.

Ref: https://rosesecurity.dev/2026/03/20/typosquatting-trivy.html
@alfondotnet alfondotnet requested a review from a team as a code owner March 24, 2026 23:21

alfondotnet commented Mar 25, 2026

Copy link
Copy Markdown
Member Author

Merge activity

  • Mar 25, 4:28 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Mar 25, 4:28 PM UTC: @alfondotnet merged this pull request with Graphite.

@alfondotnet alfondotnet merged commit eb3cfc7 into main Mar 25, 2026
15 checks passed
@alfondotnet alfondotnet deleted the security/pin-actions-to-sha branch March 25, 2026 16:28
ajpallares pushed a commit that referenced this pull request Mar 30, 2026
## Summary
- Pin all `uses:` references in GitHub Actions workflows to full SHA hashes
- Prevents supply chain attacks via tag mutation or typosquatting

## Context
- https://rosesecurity.dev/2026/03/20/typosquatting-trivy.html
- Generated with [`pinact`](https://github.com/suzuki-shunsuke/pinact)

## Test plan
- [ ] Verify CI passes with pinned references
- [ ] Spot-check that pinned SHAs match expected release tags

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Low risk: only updates GitHub Actions `uses:` references to pinned commit SHAs, with no runtime code or business logic changes. Main risk is accidental pinning to an incorrect commit causing workflow behavior changes.
> 
> **Overview**
> Pins GitHub Actions `uses:` references to immutable commit SHAs in the `issue-notifications` and `lock` workflows (replacing `@v2`/`@v2.0.1` tags) to harden CI against tag mutation and typosquatting.
> 
> <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 16ae2a6. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
RCGitBot added a commit that referenced this pull request Apr 1, 2026
**This is an automatic release.**

## RevenueCat SDK
### ✨ New Features
* Lower minimum Flutter SDK to 3.22.0 and Dart to 3.4.0 (#1704) via Rick
(@rickvdl)
### 📦 Dependency Updates
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.54.0 (#1703)
via RevenueCat Git Bot (@RCGitBot)
* [Android
9.28.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.28.1)
* [Android
9.28.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.28.0)
* [iOS
5.67.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.67.0)

### 🔄 Other Changes
* Bump fastlane-plugin-revenuecat_internal from `9a6911b` to `f11fe40`
(#1701) via dependabot[bot] (@dependabot[bot])
* security: pin GitHub Actions to SHA hashes (#1697) via Alfonso
Embid-Desmet (@alfondotnet)
* Bump activesupport from 7.2.3 to 7.2.3.1 (#1696) via dependabot[bot]
(@dependabot[bot])
* Merge release PR after deploy (#1694) via Antonio Pallares
(@ajpallares)
* Require PR approval before release tagging (#1693) via Antonio
Pallares (@ajpallares)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Primarily a coordinated version/release bump across Flutter, Android,
iOS/macOS, and web with updated dependency versions and minimum SDK
constraints; no functional logic changes beyond version metadata.
> 
> **Overview**
> Bumps the Flutter SDK release from `9.15.1` to `9.16.0` across package
metadata (`.version`, `pubspec.yaml`, podspecs, Gradle files) and
updates the embedded plugin version constants for Android/iOS/web.
> 
> Updates release documentation (`CHANGELOG-LATEST.md`, `CHANGELOG.md`,
`VERSIONS.md`) to include the `9.16.0` notes, including the lowered
minimum Flutter/Dart requirements and the `purchases-hybrid-common` bump
to `17.54.0` (with corresponding native iOS/Android version references).
Also updates `purchases_ui_flutter` to depend on `purchases_flutter
^9.16.0`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
c93cfb2. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants