Switch GitLab to 17.4 branch #315
This file contains 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 # feel free to pick your own name | |
on: # yamllint disable-line rule:truthy | |
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests | |
push: | |
branches: [main] | |
paths: | |
- 'roles/**' | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [main] | |
paths: | |
- 'roles/**' | |
jobs: | |
ansible-lint: | |
runs-on: ubuntu-latest | |
steps: | |
# Important: This sets up your GITHUB_WORKSPACE environment variable | |
- uses: actions/checkout@v4 | |
- name: Lint Ansible Playbook | |
# replace "master" with any valid ref | |
uses: ansible/ansible-lint-action@main | |
with: | |
path: "roles/" |