This commit is contained in:
2024-04-02 13:54:50 +02:00
parent 00a04ae9c2
commit ffdc528356

View File

@@ -0,0 +1,24 @@
name: Pre submits Lint
on: [pull_request]
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