feat: use yamllint to check YAML files, instead of simply parsing and pretty-printing them #501
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
# This workflow checks and tests the package code, and it builds all package | |
# artifacts whenever there were changes to a pull request. | |
# | |
# yamllint disable rule:document-start rule:document-end | |
name: Check change set | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: | |
- '*' | |
types: | |
- opened | |
- reopened | |
- synchronize | |
permissions: | |
contents: read | |
jobs: | |
build: | |
uses: ./.github/workflows/_build.yaml | |
permissions: | |
contents: read | |
with: | |
disable_pip_audit: ${{ vars.DISABLE_PIP_AUDIT == 'true' }} |