robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

dependabot[bot]ci: bump actions/checkout in the github-actions group across 1 directory20f44076dc

master
846 B34 linesraw
1name: docs
2on:
3  pull_request:
4    types: [opened, synchronize, reopened, ready_for_review]
5
6permissions: {}
7
8jobs:
9  docs:
10    runs-on: ubuntu-latest
11    if: github.event.pull_request.draft == false
12    permissions:
13      contents: write
14      pull-requests: write
15    steps:
16      - uses: actions/checkout@v7.0.1
17        with:
18          persist-credentials: false
19      - uses: ./.github/actions/setup
20
21      - name: Generate docs
22        run: |
23          make doc
24          if [ -n "$(git status --porcelain)" ]; then
25            echo "::error::Job failed, run 'make doc' and commit your doc changes."
26            echo "::error::The doc generation produces the following changes:"
27            git diff --color --exit-code
28          fi
29
30      - name: lintdoc
31        run: make lintdoc
32
33      - name: linterrcodes
34        run: make linterrcodes