security: pin GitHub Actions to SHA hashes#1697
Merged
Merged
Conversation
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
rickvdl
approved these changes
Mar 25, 2026
Member
Author
Merge activity
|
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 -->
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.
Summary
uses:references in GitHub Actions workflows to full SHA hashesContext
pinactTest plan
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 theissue-notificationsandlockworkflows (replacing@v2/@v2.0.1tags) to harden CI against tag mutation and typosquatting.Written by Cursor Bugbot for commit 16ae2a6. This will update automatically on new commits. Configure here.