[StepSecurity] ci: Harden GitHub Actions (#8496)

Signed-off-by: StepSecurity Bot <[email protected]>
This commit is contained in:
Step Security Bot
2022-10-31 23:27:18 +05:45
committed by GitHub
parent 7648e715f8
commit c8e39523c3
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -17,6 +17,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
lint:
timeout-minutes: 10