Skip to content

Commit

Permalink
ci: 👷 add linter on mr
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudTA committed Aug 29, 2023
1 parent f1f4508 commit 5a0a0d0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Empty file added .ansible-lint
Empty file.
14 changes: 14 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# .github/workflows/ansible-lint.yml
name: ansible-lint
on:
push:
branches: ['*']
pull_request:
branches: ["main"]
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
steps:
- name: Run ansible-lint
uses: ansible/ansible-lint@v6

0 comments on commit 5a0a0d0

Please sign in to comment.