3f2c2d0afa
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3)
27 lines
649 B
YAML
27 lines
649 B
YAML
name: NixOS manual checks
|
|
|
|
permissions: read-all
|
|
|
|
on:
|
|
pull_request_target:
|
|
branches-ignore:
|
|
- 'release-**'
|
|
paths:
|
|
- 'nixos/**/*.xml'
|
|
- 'nixos/**/*.md'
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository_owner == 'NixOS'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
# pull_request_target checks out the base branch by default
|
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
|
- uses: cachix/install-nix-action@v16
|
|
- name: Check DocBook files generated from Markdown are consistent
|
|
run: |
|
|
nixos/doc/manual/md-to-db.sh
|
|
git diff --exit-code
|