Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/generate-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,12 @@ jobs:
env:
KUBERNETES_BRANCH: ${{ github.event.inputs.kubernetesBranch }}
BASE_BRANCH: ${{ github.ref_name }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GH_TOKEN must be a PAT (not GITHUB_TOKEN) because the repository setting
# "Allow GitHub Actions to create and approve pull requests" is disabled.
# A repository administrator must create a PAT and store it as a repository
# secret named GH_TOKEN before this step can succeed:
# - Classic PAT: enable the "repo" scope
# - Fine-grained PAT: enable "Pull requests: write" and "Contents: write"
# WARNING: this step will fail with an authentication error if the secret
# is not configured.
GH_TOKEN: ${{ secrets.GH_TOKEN }}