Skip to content

Commit 6693ace

Browse files
authored
Use dedicated fine-grained PAT for config docs updates
Signed-off-by: Niklas <nscuro@protonmail.com>
1 parent 8109338 commit 6693ace

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/config-docs-update.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636
env:
3737
# NB: The default GITHUB_TOKEN is scoped to the repository where
3838
# the workflow is running, thus can't trigger workflows in other
39-
# repos. Requires a PAT with `write` role to the target instead.
40-
GH_TOKEN: "${{ secrets.BOT_RELEASE_TOKEN }}"
39+
# repos. Requires a PAT with `Actions: Read / Write` permission
40+
# on the target instead.
41+
GH_TOKEN: "${{ secrets.CONFIG_DOCS_UPDATE_GITHUB_TOKEN }}"
4142
run: |-
42-
gh workflow run update-config-docs.yml -R DependencyTrack/hyades
43+
gh workflow run update-config-docs.yml -R DependencyTrack/hyades

0 commit comments

Comments
 (0)