Fix logic so the task doesn't fail incorrectly when Satellite is inst… #698
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
--- | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Lint Green | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Install yamllint | |
run: pip install yamllint | |
- name: Lint YAML files | |
run: | | |
yamllint -d "{extends: default, rules: {document-start: { ignore: changelogs/changelog.yaml }, line-length: {max: 200} }}" . | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main |