Skip to content

Commit

Permalink
add ansible-lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Nov 21, 2023
1 parent 9c7c068 commit 81aae37
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: ansible-lint

on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 6 * * *"

jobs:
ansible_lint:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: install pre-commit
run: python3.11 -m pip install --user pre-commit
- name: run ansible-lint
run: pre-commit run ansible-lint --all-files

0 comments on commit 81aae37

Please sign in to comment.