Skip to content

Build documentation and check links #923

Build documentation and check links

Build documentation and check links #923

Workflow file for this run

name: Build documentation and check links
on:
workflow_dispatch:
schedule:
# Runs at 1am each day.
- cron: '0 1 * * *'
jobs:
# ref: https://github.com/2i2c-org/.github/blob/main/.github/workflows/documentation-link-check.yaml
linkcheck:

Check failure on line 11 in .github/workflows/doc-links.yml

View workflow run for this annotation

GitHub Actions / Build documentation and check links

Invalid workflow file

The workflow is not valid. .github/workflows/doc-links.yml (Line: 11, Col: 3): Error calling workflow '2i2c-org/.github/.github/workflows/documentation-link-check.yaml@main'. The nested job 'check-links' is requesting 'actions: write, attestations: write, checks: write, contents: write, deployments: write, discussions: write, issues: write, packages: write, pages: write, pull-requests: write, repository-projects: write, statuses: write, security-events: write, id-token: write', but is only allowed 'actions: none, attestat[...]
# don't run cron job on forks
# ref: https://github.com/orgs/community/discussions/26684
if: github.repository == '2i2c-org/docs'
uses: 2i2c-org/.github/.github/workflows/documentation-link-check.yaml@main
with:
docs_path: .
requirements_path: requirements.txt