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

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
This commit is contained in:
StepSecurity Bot
2024-11-14 05:19:16 -08:00
committed by GitHub
parent 186c2e4795
commit 091b5866d4
25 changed files with 135 additions and 66 deletions

View File

@@ -7,6 +7,9 @@ on:
required: true
type: string
permissions:
contents: read
jobs:
release:
name: Release
@@ -19,7 +22,7 @@ jobs:
shell: bash
- name: Check out
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: '${{ inputs.version }}'