[OSPO Book] Delete old ch 5 and add new security chapter #145
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
| --- | |
| name: Review docs | |
| on: | |
| pull_request: | |
| paths: | |
| - "ospo-book/content/en/*.md" | |
| jobs: | |
| review-docs: | |
| name: Review docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Download vale | |
| env: | |
| BASEURL: https://github.com/errata-ai/vale/releases/download | |
| VERSION: 3.3.0 | |
| run: | | |
| mkdir -p .vale/bin && cd .vale/bin | |
| wget -O vale.tar.gz --quiet "${BASEURL}/v${VERSION}/vale_${VERSION}_Linux_64-bit.tar.gz" | |
| tar xzf vale.tar.gz | |
| pwd >> "$GITHUB_PATH" | |
| - name: Run vale | |
| run: | | |
| vale --output=".vale.tmpl" --no-exit ospo-book/content/en |