Skip to content

Commit bde4374

Browse files
authored
Use Service Account PAT for checkout in release workflow (#4022)
The checkout step now uses a Personal Access Token (SA_PAT) to ensure the workflow has the necessary permissions to commit and push changes back to the repository, specifically for updating get_versions.yml.
1 parent 1f20822 commit bde4374

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ jobs:
275275
steps:
276276
# Checkout is needed so that we can update the get_versions.yml file
277277
- uses: actions/checkout@v6
278+
with:
279+
token: ${{ secrets.SA_PAT }}
278280

279281
- name: Increment Version Numbers
280282
run: |

0 commit comments

Comments
 (0)