[StepSecurity] ci: Harden GitHub Actions

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
This commit is contained in:
StepSecurity Bot 2023-12-20 00:04:27 +00:00
parent 3a2c50d4ac
commit 4a13f79b76
No known key found for this signature in database
GPG Key ID: 567913FD34425A27

View File

@ -13,6 +13,11 @@ jobs:
format_code:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit
- uses: actions/checkout@v4
- name: Install clang-format