Skip to content
Merged
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
12 changes: 12 additions & 0 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,20 @@ jobs:
contents: write

steps:
# Mints a short-lived token for the 'fundus-docs-bot' GitHub App, which is
# allowed to bypass branch protection on 'master'. The default GITHUB_TOKEN
# cannot push to the protected branch.
- name: Generate app token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
private-key: ${{ secrets.DOCS_BOT_PRIVATE_KEY }}

- name: Set up Git repository
uses: actions/checkout@v6
with:
token: ${{ steps.app-token.outputs.token }}

- name: Set up Python 3.9
uses: actions/setup-python@v6
Expand Down