ci: refactor build_docs so that pandoc runs in isolated read-only job [citest_skip] #324
Workflow file for this run
This file contains hidden or 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
| # Codespell configuration is within .codespellrc | |
| --- | |
| name: Codespell | |
| on: # yamllint disable-line rule:truthy | |
| - pull_request | |
| permissions: | |
| contents: read | |
| jobs: | |
| codespell: | |
| if: | | |
| !(github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[citest_skip]')) | |
| name: Check for spelling errors | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| with: | |
| persist-credentials: false | |
| - name: Codespell | |
| uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2 |