robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
20f44076dc
master
1name : docs 2on : 3pull_request : 4types : [ opened , synchronize , reopened , ready_for_review ] 5 6permissions : {} 7 8jobs : 9docs : 10runs-on : ubuntu-latest 11if : github.event.pull_request.draft == false 12permissions : 13contents : write 14pull-requests : write 15steps : 16- uses : actions/checkout@v7.0.1 17with : 18persist-credentials : false 19- uses : ./.github/actions/setup 20 21- name : Generate docs 22run : | 23make doc 24if [ -n "$(git status --porcelain)" ]; then 25echo "::error::Job failed, run 'make doc' and commit your doc changes." 26echo "::error::The doc generation produces the following changes:" 27git diff --color --exit-code 28fi 29 30- name : lintdoc 31run : make lintdoc 32 33- name : linterrcodes 34run : make linterrcodes