Add ansible-lint
and pull-requester
GitHub Workflows and Dependabot
#6
Workflow file for this run
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: Linting | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
packages: read | |
issues: write | |
pull-requests: write | |
jobs: | |
linting: | |
name: Ansible Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Lint the Ansible code | |
uses: ansible/ansible-lint@v6 | |
- name: Upload the ansible-lint SARIF file | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: results.sarif | |
category: ansible-lint |