Skip to content

fix(ci): restore pages/id-token permissions on the docs deploy job #80

fix(ci): restore pages/id-token permissions on the docs deploy job

fix(ci): restore pages/id-token permissions on the docs deploy job #80

Workflow file for this run

name: Build and deploy docs (docs.freeunit.org)
on:
workflow_dispatch:
inputs:
environment:
description: 'Environment to deploy to'
required: true
default: 'preview'
type: choice
options:
- preview
- prod
pull_request:
branches:
- "*"
push:
branches:
- "main"
permissions:
contents: read
jobs:
call-docs-build-push:

Check failure on line 25 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / Build and deploy docs (docs.freeunit.org)

Invalid workflow file

The workflow is not valid. .github/workflows/docs.yml (Line: 25, Col: 3): Error calling workflow 'freeunitorg/docs/.github/workflows/docs-build-push.yml@main'. The nested job 'pr-comment' is requesting 'issues: write', but is only allowed 'issues: none'.
uses: freeunitorg/docs/.github/workflows/docs-build-push.yml@main
permissions:
pull-requests: write
contents: read
pages: write
id-token: write
with:
production_url_path: ""
preview_url_path: "/previews/docs"
docs_source_path: "deploy"
docs_build_path: "."
doc_type: "sphinx"
environment: ${{ inputs.environment }}
auto_deploy_branch: "main"
auto_deploy_env: "prod"