]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
👷 Add custom token to Smokeshow and Preview Docs for download-artifact, to prevent...
authorSebastián Ramírez <tiangolo@gmail.com>
Sat, 10 Jun 2023 12:39:34 +0000 (14:39 +0200)
committerGitHub <noreply@github.com>
Sat, 10 Jun 2023 12:39:34 +0000 (14:39 +0200)
.github/workflows/preview-docs.yml
.github/workflows/smokeshow.yml

index 91b0cba025d9f771b63047d58b5cb74a42e768c8..8730185bd37d625387bc7536d2a9926c71e39fde 100644 (file)
@@ -18,7 +18,7 @@ jobs:
       - name: Download Artifact Docs
         uses: dawidd6/action-download-artifact@v2.27.0
         with:
-          github_token: ${{ secrets.GITHUB_TOKEN }}
+          github_token: ${{ secrets.FASTAPI_PREVIEW_DOCS_DOWNLOAD_ARTIFACTS }}
           workflow: build-docs.yml
           run_id: ${{ github.event.workflow_run.id }}
           name: docs-zip
index f135fb3e4fb4d69da5e0d7f94a0c1093053c8c6b..65a174329a26eb1eafee54abb6fb48894725928c 100644 (file)
@@ -22,6 +22,7 @@ jobs:
 
       - uses: dawidd6/action-download-artifact@v2.27.0
         with:
+          github_token: ${{ secrets.FASTAPI_SMOKESHOW_DOWNLOAD_ARTIFACTS }}
           workflow: test.yml
           commit: ${{ github.event.workflow_run.head_sha }}