Skip to content

Comments

chore(stepsecurity): update workflows to use custom hosted runners with built-in StepSecurity#18

Open
ali-kafel wants to merge 1 commit intocirclefin:mainfrom
ali-kafel:main
Open

chore(stepsecurity): update workflows to use custom hosted runners with built-in StepSecurity#18
ali-kafel wants to merge 1 commit intocirclefin:mainfrom
ali-kafel:main

Conversation

@ali-kafel
Copy link

@ali-kafel ali-kafel commented Dec 10, 2025

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

@ali-kafel ali-kafel changed the title Test chore(stepsecurity): update workflows to use custom hosted runners with built-in StepSecurity Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant