1
0
Fork 0
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:
L3D 2021-03-12 14:47:22 +01:00
parent 9dec3b7184
commit b018fae6d0
Signed by: l3d
GPG key ID: CD08445BFF4313D1
6 changed files with 93 additions and 15 deletions

View file

@ -1,5 +1,7 @@
---
name: Ansible check centos:centos7 name: Ansible check centos:centos7
# yamllint disable-line rule:truthy
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check centos:centos8 name: Ansible check centos:centos8
# yamllint disable-line rule:truthy
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:

View file

@ -1,5 +1,7 @@
---
name: Ansible check centos:latest name: Ansible check centos:latest
# yamllint disable-line rule:truthy
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:

View 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
View 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
View 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'