Skip to content

ci(actions): build documentation when a PR is opened #104

ci(actions): build documentation when a PR is opened

ci(actions): build documentation when a PR is opened #104

Workflow file for this run

# TODO: make this a workflow_call so it is used as a building block?
name: Lint
on:
pull_request:
types: [opened, synchronize]
jobs:
actions:
runs-on: ubuntu-latest
name: Actions
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: reviewdog/action-actionlint@db58217885f9a6570da9c71be4e40ec33fe44a1f # v1
with:
reporter: github-pr-review
typos:
runs-on: ubuntu-latest
name: Typos
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: reviewdog/action-typos@9e768c4fb1e84e0c3283790e61a736a4bebd30eb # v1
with:
typos_flags: --config ${{github.workspace}}/.github/typos.toml
reporter: github-pr-review
skip-renovate:
runs-on: ubuntu-latest
name: Skip Duplicate Actions (Renovate)
outputs:
should-skip: ${{steps.sda.outputs.should_skip}}
steps:
- uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5
id: sda
with:
paths: '[".github/renovate.json"]'
renovate:
runs-on: ubuntu-latest
name: Renovate
needs: skip-renovate
if: needs.skip-renovate.outputs.should-skip != 'true'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
- run: npm exec --package=renovate -- renovate-config-validator