Merge pull request #1593 from getsops/dependabot/go_modules/go-6da20b… #297
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Docs" | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
# Only consider changes to documentation | |
paths: | |
- '**/*.md' | |
- '**/*.rst' | |
- '**/*.txt' | |
schedule: | |
- cron: '25 6 * * 3' | |
permissions: | |
contents: read | |
jobs: | |
documentation: | |
name: Lint RST and MD files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.0.0 | |
- name: Install rstcheck and markdownlint | |
run: | | |
pip install rstcheck | |
sudo gem install mdl | |
- name: Run rstcheck on all RST files | |
run: make checkrst | |
- name: Run mdl on all MD files | |
run: make checkmd |