Skip to content

Commit eb4ab3d

Browse files
committed
github actions: git was missing when the gh action ssh-agent runs
Example of failure: https://github.com/jetstack/jetstack-secure/actions/runs/10509465707/job/29115732869
1 parent c6d12b6 commit eb4ab3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-master.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ jobs:
7070
packages: write
7171
id-token: write
7272
steps:
73-
- uses: webfactory/[email protected]
74-
with:
75-
ssh-private-key: ${{ secrets.DEPLOY_KEY_READ_VENAFI_CONNECTION_LIB }}
7673
- name: Install Tools
7774
# Installing 'bash' because it's required by the 'cosign-installer' action
7875
# and 'coreutils' because the 'slsa-provenance-action' requires a version
7976
# of 'base64' that supports the -w flag.
8077
run: apk add --update make git jq rsync curl bash coreutils go
78+
- uses: webfactory/[email protected]
79+
with:
80+
ssh-private-key: ${{ secrets.DEPLOY_KEY_READ_VENAFI_CONNECTION_LIB }}
8181
- name: Adding github workspace as safe directory
8282
# See issue https://github.com/actions/checkout/issues/760
8383
run: git config --global --add safe.directory $GITHUB_WORKSPACE

0 commit comments

Comments
 (0)