Add OWNERS, CODEOWNERS, and ansible-lint GitHub Action for Prow onboarding #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Ansible Lint | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| ansible-lint: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: quay.io/shiftstack-qe/shiftstack-client | |
| options: --user root | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Ansible collections | |
| run: ansible-galaxy collection install -r requirements.yaml | |
| - name: Run ansible-lint | |
| run: ansible-lint --strict | |
| env: | |
| ANSIBLE_VAULT_PASSWORD_FILE: /home/cloud-admin/.vault-pass |