Skip to content

Commit 5a83b31

Browse files
authored
chore(update-yara-x): checkout with octo-sts token (#1466)
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
1 parent b3c54f1 commit 5a83b31

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/update-yara-x.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ jobs:
109109
sum.golang.org:443
110110
tuf-repo-cdn.sigstore.dev:443
111111
112-
- name: Checkout code
113-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
114-
115112
- name: Set up Go
116113
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
117114
with:
@@ -126,6 +123,11 @@ jobs:
126123
scope: chainguard-dev/malcontent
127124
identity: update-yara-x
128125

126+
- name: Checkout code
127+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
128+
with:
129+
token: ${{ steps.octo-sts.outputs.token }}
130+
129131
- name: Run update script
130132
env:
131133
GH_TOKEN: ${{ steps.octo-sts.outputs.token }}

0 commit comments

Comments
 (0)