Commit 40ee83f
authored
chore(stepsecurity): update workflows to use custom hosted runners with built-in StepSecurity (#133)
## 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 occurred1 parent 357d2fe commit 40ee83f
File tree
3 files changed
+4
-35
lines changed- .github/workflows
3 files changed
+4
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
16 | 14 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 15 | | |
24 | 16 | | |
25 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 15 | | |
23 | 16 | | |
24 | 17 | | |
| |||
28 | 21 | | |
29 | 22 | | |
30 | 23 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 24 | + | |
34 | 25 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 26 | | |
42 | 27 | | |
43 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
13 | 11 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 12 | | |
21 | 13 | | |
22 | 14 | | |
| |||
0 commit comments