sync'ing branch1 - Thu Dec 19 06:08:58 UTC 2024 #15816
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
name: yamllint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
# Needed to check out the repo. | |
contents: read | |
jobs: | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- env: | |
YAMLLINT_VERSION: "1.26.3" | |
run: | | |
set -euo pipefail | |
# Install yamllint | |
pip install "yamllint==${YAMLLINT_VERSION}" | |
# Run yamllint | |
make yamllint |