mirror of
https://github.com/roles-ansible/ansible_role_epel.git
synced 2024-08-16 14:49:49 +02:00
update github actions
This commit is contained in:
parent
9dec3b7184
commit
b018fae6d0
6 changed files with 93 additions and 15 deletions
2
.github/workflows/ansible-centos-centos7.yml
vendored
2
.github/workflows/ansible-centos-centos7.yml
vendored
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
name: Ansible check centos:centos7
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
|
2
.github/workflows/ansible-centos-centos8.yml
vendored
2
.github/workflows/ansible-centos-centos8.yml
vendored
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
name: Ansible check centos:centos8
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
|
2
.github/workflows/ansible-centos-latest.yml
vendored
2
.github/workflows/ansible-centos-latest.yml
vendored
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
name: Ansible check centos:latest
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
|
28
.github/workflows/ansible-linting-check.yml
vendored
Normal file
28
.github/workflows/ansible-linting-check.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
name: Ansible Lint check
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches: '*'
|
||||
pull_request:
|
||||
branches: '*'
|
||||
schedule:
|
||||
- cron: '42 6 * */1 *'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Lint Ansible Playbook
|
||||
uses: ansible/ansible-lint-action@master
|
||||
with:
|
||||
targets: "."
|
||||
# [required]
|
||||
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
|
||||
args: ""
|
||||
# [optional]
|
20
.github/workflows/galaxy.yml
vendored
Normal file
20
.github/workflows/galaxy.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
name: Galaxy release
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches: ['main']
|
||||
release:
|
||||
types: ['created']
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: galaxy
|
||||
uses: robertdebock/galaxy-action@1.1.0
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
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'
|
Loading…
Reference in a new issue