Skip to content

Auto-update pre-commit hooks (#56) #142

Auto-update pre-commit hooks (#56)

Auto-update pre-commit hooks (#56) #142

Workflow file for this run

---
# This workflow action will run pre-commit, which will execute ansible and yaml linting
# See .pre-commit-config.yaml for what hooks are executed
name: Yaml and Ansible Lint
on: # noqa yaml[truthy]
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
# - name: Upgrade Ansible
# run: |
# sudo apt install software-properties-common
# pip install --upgrade ansible
- uses: pre-commit/[email protected]