mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
23 lines
555 B
YAML
23 lines
555 B
YAML
|
---
|
||
|
name: 'Yamllint GitHub Actions'
|
||
|
|
||
|
# yamllint disable-line rule:truthy
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
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'
|
||
|
yamllint_strict: false
|
||
|
yamllint_comment: true
|
||
|
# env:
|
||
|
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }
|