diff --git a/.gitea/workflows/ansible-lint.yaml b/.gitea/workflows/ansible-lint.yaml index 72e4d5d..bf1465c 100644 --- a/.gitea/workflows/ansible-lint.yaml +++ b/.gitea/workflows/ansible-lint.yaml @@ -1,15 +1,15 @@ name: Ansible Linting on: - - push + push: + branches: + - master jobs: - ansible-lint: - runs-on: ubuntu-latest - container: - image: shockrah/ansible + build: steps: - - name: Checkout repo content - uses: actions/checkout@v4 - - run: ansible-lint -c linter.yaml - working-directory: ansible/ - + - uses: actions/checkout@v6 + - name: Perform linting actions + uses: ansible/ansible-lint@main + with: + working_directory: ansible +