diff options
author | 2022-01-10 17:07:01 +0000 | |
---|---|---|
committer | 2022-01-10 17:07:01 +0000 | |
commit | 1bc050e8061a00923f237562dd0f3693af8c3b80 (patch) | |
tree | 79b913af665694ec8f42c3cad47c956d2a625ef9 | |
parent | Update list syntax for common handlers (diff) | |
parent | Override ansible-lint version to rich 11 compatible version (diff) |
Merge pull request #3 from python-discord/jb3/playbook-lint
-rw-r--r-- | .github/workflows/lint.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..ebcb757 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Lint Playbook + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Lint Ansible playbooks + uses: ansible/ansible-lint-action@master + with: + targets: | + playbook.yml + override-deps: | + ansible-lint==5.3.2 |