8cb51f8c74
We have this set in the other actions, it prevents the action from running in PRs made against forks.
21 lines
470 B
YAML
21 lines
470 B
YAML
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
|