Fix content #17
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: CI Pipeline for Pull Requests | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
| permissions: | |
| contents: write | |
| jobs: | |
| # YAML Lint job - runs after auto-gen-date | |
| yamllint: | |
| name: Lint YAML files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| - name: Install yamllint | |
| run: python3 -m pip install yamllint | |
| - name: Lint YAML files | |
| run: "yamllint -f github -d '{extends: default, rules: {line-length: disable}}' _data/guides.yml" |