mirror of
https://github.com/roles-ansible/ansible_role_dotfiles.git
synced 2024-08-16 16:09:49 +02:00
22 lines
555 B
YAML
22 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 }
|