Skip to content

Commit ee94670

Browse files
committed
add git url rewrite for the manual cli release to help with accessing other repositories
Signed-off-by: Dejan Zele Pejchev <[email protected]>
1 parent 7f502dc commit ee94670

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release-cli-manual.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ jobs:
119119
run: |
120120
git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
121121
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com'
122+
git config --global url."https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/".insteadOf "https://github.com/"
122123
- uses: sigstore/[email protected]
123124
- uses: anchore/sbom-action/[email protected]
124125
- name: Download Artifacts for Linux

0 commit comments

Comments
 (0)