Skip to content

fix lint workflow

fix lint workflow #169

Workflow file for this run

---
name: Ansible Lint
on:
push:
pull_request:
jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check ansible-lint diff
uses: ansible/[email protected]
with: --fix

Check failure on line 15 in .github/workflows/lint.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yaml

Invalid workflow file

You have an error in your yaml syntax on line 15
- name: Check ansible lint diff and undo
run: |
# Check diff in the CI
git diff
# Undo diff to run ansible lint in the next step
git checkout -- .
- name: Run ansible-lint
uses: ansible/[email protected]