mirror of
https://github.com/roles-ansible/ansible_role_versioncheck.git
synced 2024-08-16 15:59:49 +02:00
update linting actions
This commit is contained in:
parent
1a37424ebf
commit
0cb1338e79
3 changed files with 6 additions and 14 deletions
2
.github/workflows/ansible-debian-stable.yml
vendored
2
.github/workflows/ansible-debian-stable.yml
vendored
|
@ -7,8 +7,6 @@ on:
|
||||||
branches: '*'
|
branches: '*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: '*'
|
branches: '*'
|
||||||
schedule:
|
|
||||||
- cron: '23 6 * */1 *'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
8
.github/workflows/ansible-linting-check.yml
vendored
8
.github/workflows/ansible-linting-check.yml
vendored
|
@ -7,8 +7,6 @@ on:
|
||||||
branches: '*'
|
branches: '*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: '*'
|
branches: '*'
|
||||||
schedule:
|
|
||||||
- cron: '42 6 * */1 *'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -19,10 +17,6 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Lint Ansible Playbook
|
- name: Lint Ansible Playbook
|
||||||
uses: ansible/ansible-lint-action@master
|
uses: ansible/ansible-lint-action@v6
|
||||||
with:
|
with:
|
||||||
targets: "."
|
targets: "."
|
||||||
# [required]
|
|
||||||
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
|
|
||||||
args: ""
|
|
||||||
# [optional]
|
|
||||||
|
|
10
.github/workflows/yamllint.yaml
vendored
10
.github/workflows/yamllint.yaml
vendored
|
@ -2,7 +2,11 @@
|
||||||
name: 'Yamllint GitHub Actions'
|
name: 'Yamllint GitHub Actions'
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
# yamllint disable-line rule:truthy
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches: '*'
|
||||||
|
pull_request:
|
||||||
|
branches: '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
yamllint:
|
yamllint:
|
||||||
|
@ -16,7 +20,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
yamllint_file_or_dir: '.'
|
yamllint_file_or_dir: '.'
|
||||||
yamllint_config_filepath: './.yamllint'
|
yamllint_config_filepath: './.yamllint'
|
||||||
yamllint_strict: false
|
|
||||||
yamllint_comment: true
|
|
||||||
# env:
|
|
||||||
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }
|
|
||||||
|
|
Loading…
Reference in a new issue