Skip to content

Commit f0589eb

Browse files
LAST ATTEMPT (#3336)
Signed-off-by: Brian Hardock <[email protected]>
1 parent a80fcba commit f0589eb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/rust-sdk-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,21 @@ jobs:
1717
steps:
1818
# Checkout the repository
1919
- uses: actions/checkout@v4
20+
with:
21+
persist-credentials: false # disable default GITHUB_TOKEN
22+
fetch-depth: 0
23+
24+
# Configure Git identity
25+
- name: Configure Git
26+
run: |
27+
git config user.name "spinframeworkbot"
28+
git config user.email "[email protected]"
29+
30+
# Set the remote to use the PAT
31+
- name: Use PAT for Git
32+
run: |
33+
git remote set-url origin https://x-access-token:${{ secrets.SPIN_RUST_SDK_RELEASE_PAT }}@github.com/${{ github.repository }}.git
34+
2035
2136
# Run script to update the templates
2237
- name: Bump Rust Templates SDK Dependency

0 commit comments

Comments
 (0)