1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_dotfiles.git synced 2024-08-16 16:09:49 +02:00

update actions

This commit is contained in:
L3D 2021-09-19 03:00:53 +02:00
parent 32fa7ebbc1
commit caefb25677
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 31 additions and 6 deletions

View file

@ -2,7 +2,11 @@
name: Ansible Lint check
# yamllint disable-line rule:truthy
on: [push, pull_request]
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build:

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 }}

View file

@ -2,7 +2,11 @@
name: 'Yamllint GitHub Actions'
# yamllint disable-line rule:truthy
on: [push, pull_request]
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
yamllint:
@ -16,7 +20,3 @@ jobs:
with:
yamllint_file_or_dir: '.'
yamllint_config_filepath: './.yamllint'
yamllint_strict: false
yamllint_comment: true
# env:
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.cache/