chore(stepsecurity): update workflows to use custom hosted runners with built-in StepSecurity#18
Open
ali-kafel wants to merge 1 commit intocirclefin:mainfrom
Open
chore(stepsecurity): update workflows to use custom hosted runners with built-in StepSecurity#18ali-kafel wants to merge 1 commit intocirclefin:mainfrom
ali-kafel wants to merge 1 commit intocirclefin:mainfrom
Conversation
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
This PR updates GitHub Actions workflows to use custom hosted runners that have StepSecurity built-in, removing the need for the explicit StepSecurity harden-runner action.
What Changed
Removed step-security/harden-runner action steps (no longer needed as StepSecurity is built into custom runners)
Removed id-token: write permissions (no longer needed without the StepSecurity action)
Updated runs-on from ubuntu-latest to github-hosted-small (custom runners with built-in StepSecurity)
Converted non-circlefin action versions to commit SHAs with version comments for security pinning (e.g., actions/checkout@abc123 # v3.6.0)
circlefin GitHub actions remain unchanged
Purpose
Our custom hosted runners (github-hosted-small) now have StepSecurity built-in at the runner level, so we no longer need to add it as an explicit step in each workflow. This simplifies our workflows while maintaining the same security posture.
Testing
All workflow syntax changes have been validated
No functional changes to workflow behavior
StepSecurity protection is maintained via the custom runners
Review the diff to ensure only intended changes occurred