Skip to content

Commit

Permalink
Create ansible-lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinth authored Jul 2, 2024
1 parent 15cd729 commit ca41a53
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# .github/workflows/ansible-lint.yml
name: ansible-lint
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]

Check failure on line 7 in .github/workflows/ansible-lint.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[trailing-spaces]

Trailing spaces
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'

0 comments on commit ca41a53

Please # to comment.