TPM/FDE usage for Resolute #362
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: Vale readability checks | |
| # | |
| #on: | |
| # push: | |
| # branches: [ main ] | |
| # pull_request: | |
| # paths: | |
| # - 'docs/**' # Only run on changes to the docs directory | |
| # | |
| # workflow_dispatch: | |
| # # Manual trigger | |
| # | |
| #concurrency: | |
| # group: ${{ github.workflow }}-${{ github.ref }} | |
| # cancel-in-progress: true | |
| # | |
| #jobs: | |
| # vale-readability: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: errata-ai/vale-action@v2.1.1 | |
| # with: | |
| # files: docs | |
| # vale_flags: "--config=.vale-readability.ini" | |
| # # reporter: github-pr-check | |
| # fail_on_error: true | |
| # level: warning | |
| name: Vale readability checks | |
| description: 'Analyze all documentation files for readability metrics' | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| paths: | |
| - 'docs/**' # Only run on changes to the docs directory | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| vale-readability: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: jdkato/vale | |
| volumes: | |
| - ${{ github.workspace }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: 'Synchronize Vale modules' | |
| run: 'vale sync --config=.vale/readability.ini' | |
| - name: 'Calculate readability metrics' | |
| run: 'find docs -name \*.md | xargs vale --config=.vale/readability.ini' | |