Hardening actions
This commit is contained in:
parent
7924f3c5cf
commit
1d5af125a0
|
@ -21,6 +21,7 @@ jobs:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # git show-ref v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # git show-ref v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
persist-credentials: false # https://yossarian.net/til/post/actions-checkout-can-leak-github-credentials/
|
||||||
|
|
||||||
- name: Setup Go version ${{ matrix.go-version }}
|
- name: Setup Go version ${{ matrix.go-version }}
|
||||||
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # git show-ref v5.4.0
|
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # git show-ref v5.4.0
|
||||||
|
|
Loading…
Reference in New Issue