[SECENG-364] Pin GitHub Actions to commit SHAs#15
Merged
Stephanie Ginovker (sginovker) merged 5 commits intomasterfrom Apr 20, 2026
Merged
[SECENG-364] Pin GitHub Actions to commit SHAs#15Stephanie Ginovker (sginovker) merged 5 commits intomasterfrom
Stephanie Ginovker (sginovker) merged 5 commits intomasterfrom
Conversation
Max Lundberg (max-lundberg)
approved these changes
Apr 8, 2026
Max Lundberg (max-lundberg)
approved these changes
Apr 8, 2026
Old action deprecated, Ruby 2.7 gone from runners. Use ruby/setup-ruby v1.301.0 w/ Ruby 3.1 + built-in bundler cache. Drop redundant cache and bundle install steps. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Locked nokogiri 1.12.4 requires ruby < 3.1.dev. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fresh resolve to unblock CI — old lock had dead gems (mimemagic, nokogiri < 3.1). Deps now resolve cleanly on Ruby 3.4. Safe to update: Gemfile.lock only affects CI, not consumers. ehi-api and product-catalog resolve their own deps independently. This gem has no runtime dependencies — Rails/nokogiri are dev/test only, pulled in via Combustion for rspec. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
OpenStruct removed from default gems in Ruby 3.4. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Ticket
SECENG-364
Summary
Pin all external GitHub Actions to commit SHAs for supply chain security. Internal (hoverinc/) actions are left unpinned.
Pinned Actions
actions/cache@v2→84922603actions/setup-ruby@v1→e932e7afDependabot
Added/updated
dependabot.ymlto keep GitHub Actions pinned to the latest SHA with a 7-day update cooldown.