mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
L3D
fb45c4dfc5
There is this linting message: ``` [208] File permissions unset or incorrect tasks/main.yml:27 Task/Handler: Create config and data directory ``` I fixed it in this commit and added a github action to run the official™ ansible linting check!
20 lines
387 B
YAML
20 lines
387 B
YAML
name: Ansible Lint check
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Lint Ansible Playbook
|
|
uses: ansible/ansible-lint-action@master
|
|
with:
|
|
targets: "."
|
|
# [required]
|
|
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
|
|
args: ""
|
|
# [optional]
|