summary refs log tree commit diff
path: root/.github/workflows/nixos-manual.yml
blob: 80ffc9c12be448f4d2d026ff6c6acc659b454397 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: NixOS manual checks

on:
  pull_request:
    branches-ignore:
      - 'release-**'
    paths:
      - 'nixos/**/*.xml'
      - 'nixos/**/*.md'

jobs:
  tests:
    runs-on: ubuntu-latest
    if: github.repository_owner == 'NixOS'
    steps:
    - uses: actions/checkout@v2
    - uses: cachix/install-nix-action@v12
    - name: Check DocBook files generated from Markdown are consistent
      run: |
        nixos/doc/manual/md-to-db.sh
        git diff --exit-code