diff options
author | Dudemanguy <random342@airmail.cc> | 2023-09-23 23:52:04 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-09-24 18:11:07 +0000 |
commit | 3140f921dd93aa5a11442c5cd5db52fae1aa523f (patch) | |
tree | a47ca32af890eab018a675ed255676e51118094a | |
parent | 155777fbd850a5f66e80b513ea1dae9c06abc2ff (diff) | |
download | mpv-3140f921dd93aa5a11442c5cd5db52fae1aa523f.tar.bz2 mpv-3140f921dd93aa5a11442c5cd5db52fae1aa523f.tar.xz |
github/workflows: add a workflow to check doc changes
Should hopefully avoid any accidents with stray characters and other
things. Only needs to run if something within DOCS changes.
-rw-r--r-- | .github/workflows/docs.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000000..c21f7c9ac1 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,24 @@ +name: docs + +on: + push: + branches: + - master + - ci + - 'release/**' + paths: + - 'DOCS/**' + pull_request: + branches: [master] + paths: + - 'DOCS/**' + +jobs: + commit-msg: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: docs + run: | + sudo apt-get install python3-docutils + rst2man --strip-elements-with-class=contents --halt=2 ./DOCS/man/mpv.rst mpv.1 |