Skip to content

Commit 4dc7289

Browse files
authored
ci: add harden-runner to all workflows (#106)
## Summary - Add [step-security/harden-runner](https://github.com/step-security/harden-runner) v2.16.0 as the first step in all workflow jobs - Pinned to SHA `fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594` - Using `egress-policy: audit` to monitor network activity before switching to block mode ## Test plan - [ ] Verify PR quality check workflow still passes - [ ] Trigger a test run of update-cli-docs workflow
1 parent 697d168 commit 4dc7289

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/pr-quality.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
permissions:
1616
pull-requests: read
1717
steps:
18+
- name: Harden Runner
19+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
20+
with:
21+
egress-policy: audit
22+
1823
- name: Check PR title follows Conventional Commit format
1924
uses: amannn/action-semantic-pull-request@v6
2025
env:

.github/workflows/update-cli-docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
update-docs:
1818
runs-on: ubuntu-latest
1919
steps:
20+
- name: Harden Runner
21+
uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
22+
with:
23+
egress-policy: audit
24+
2025
- name: Determine CLI tag
2126
id: tag
2227
run: |

0 commit comments

Comments
 (0)