Skip to content

Add pre commit and linting #2

Add pre commit and linting

Add pre commit and linting #2

Workflow file for this run

# .github/workflows/ansible-lint.yml
name: ansible-lint
on:
pull_request:
branches:
- 'devspaces-[0-9].[0-9]+-rhel-8'
- devspaces-3-rhel-8
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@main # or version tag instead of 'main'