Skip to content

Merge pull request #3112 from jupyterhub/pre-commit-ci-update-config #2005

Merge pull request #3112 from jupyterhub/pre-commit-ci-update-config

Merge pull request #3112 from jupyterhub/pre-commit-ci-update-config #2005

Workflow file for this run

# This is a GitHub workflow defining a set of jobs with a set of steps.
# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
#
name: Test yamllint
on:
pull_request:
paths:
- "**/*.yaml"
- "**/*.yml"
- ".github/workflows/test-yamllint.yaml"
push:
paths:
- "**/*.yaml"
- "**/*.yml"
- ".github/workflows/test-yamllint.yaml"
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"
- "update-*"
workflow_dispatch:
jobs:
yamllint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- run: pip install yamllint
# We use --no-warnings to reduce output to errors that needs to be fixed
- run: yamllint --config-data=scripts/yamllint-no-secrets.yaml --no-warnings .