Skip to content

Commit 4355212

Browse files
committed
chore: update GitHub Actions workflow for client generation
- Changed the GitHub token used in the workflow from GITHUB_TOKEN to BOT_GITHUB_TOKEN for improved access control. - Removed outdated comments regarding the use of a personal access token (PAT) for triggering workflows.
1 parent c4e60a4 commit 4355212

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/generate-client.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ jobs:
100100
fi
101101
env:
102102
# GITHUB_TOKEN has write permissions for same-repo events by default
103-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104-
# Use a PAT if you need to trigger subsequent workflows:
105-
# GITHUB_TOKEN: ${{ secrets.YOUR_PAT_WITH_WRITE_ACCESS }}
103+
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
106104

107105
# 8. Handle Changes for Fork PRs (Warn, Don't Fail)
108106
- name: Check for Uncommitted Changes (Fork PRs)

0 commit comments

Comments
 (0)