From 25185bcdb840daadbe9795f7bdb7c07c344e6ee3 Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Wed, 5 Jun 2024 18:24:19 +0200 Subject: [PATCH] Use PAT for trigger request Signed-off-by: Thomas Lauf --- .github/workflows/update-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index f2738e17..9274b7d8 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -35,7 +35,7 @@ jobs: curl -L \ -X POST \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -H "Authorization: Bearer ${{ secrets.UPDATE_DOCS }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/${repo_owner}/${repo_name}/dispatches \ -d "{\"event_type\": \"$event_type\", \"client_payload\": {\"version\": \"${version}\", \"doc_filenames\": ${formatted_doc_filenames}, \"encoded_file_contents\": ${formatted_encoded_file_contents} }}"