mirror of
https://github.com/roles-ansible/ansible_role_restic.git
synced 2024-12-11 23:41:32 +01:00
commit
236a5c6b54
3 changed files with 31 additions and 8 deletions
14
.github/workflows/ansible-linting-check.yml
vendored
14
.github/workflows/ansible-linting-check.yml
vendored
|
@ -2,22 +2,22 @@
|
||||||
name: Ansible Lint check
|
name: Ansible Lint check
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
# yamllint disable-line rule:truthy
|
||||||
on:
|
on: [push, pull_request]
|
||||||
push:
|
|
||||||
branches: '*'
|
|
||||||
pull_request:
|
|
||||||
branches: '*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Ansible Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'checkout git repo'
|
- name: 'checkout git repo'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
|
submodules: false
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: 'Lint Ansible Playbook'
|
- name: 'Lint Ansible Playbook'
|
||||||
uses: ansible/ansible-lint-action@v6
|
uses: ansible/ansible-lint-action@v6
|
||||||
with:
|
with:
|
||||||
targets: "."
|
path: "."
|
||||||
|
|
2
.github/workflows/galaxy.yml
vendored
2
.github/workflows/galaxy.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: 'release on galaxy'
|
- name: 'release on galaxy'
|
||||||
uses: robertdebock/galaxy-action@1.2.0
|
uses: robertdebock/galaxy-action@1.2.1
|
||||||
with:
|
with:
|
||||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||||
git_branch: 'main'
|
git_branch: 'main'
|
||||||
|
|
23
.github/workflows/yamllint.yaml
vendored
Normal file
23
.github/workflows/yamllint.yaml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
name: 'Yamllint GitHub Actions'
|
||||||
|
|
||||||
|
# yamllint disable-line rule:truthy
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: '*'
|
||||||
|
pull_request:
|
||||||
|
branches: '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
yamllint:
|
||||||
|
name: 'Yamllint'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: 'Yamllint'
|
||||||
|
uses: karancode/yamllint-github-action@v2.1.1
|
||||||
|
with:
|
||||||
|
yamllint_file_or_dir: '.'
|
||||||
|
yamllint_config_filepath: './.yamllint'
|
Loading…
Reference in a new issue