mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-07-06 19:28:52 +02:00
improve yamllinting
This commit is contained in:
parent
bb6ae52acd
commit
2eaccfe2a8
24
.github/workflows/yamllint.yaml
vendored
Normal file
24
.github/workflows/yamllint.yaml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
name: 'Yamllint GitHub Actions'
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches: '*'
|
||||
pull_request:
|
||||
branches: '*'
|
||||
schedule:
|
||||
- cron: '23 6 * */1 *'
|
||||
|
||||
jobs:
|
||||
yamllint:
|
||||
name: 'Yamllint'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@master
|
||||
- name: 'Yamllint'
|
||||
uses: karancode/yamllint-github-action@master
|
||||
with:
|
||||
yamllint_file_or_dir: '.'
|
||||
yamllint_config_filepath: './.yamllint'
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
|||
*.pyc
|
||||
|
||||
.cache
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
|
|
Loading…
Reference in a new issue