mirror of https://github.com/tiangolo/fastapi.git
👷 Add custom token to Smokeshow and Preview Docs for download-artifact, to prevent API rate limits (#9646)
This commit is contained in:
parent
d189c38aaf
commit
4c23c0644b
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue