mirror of
https://github.com/roles-ansible/ansible_role_acmetool.git
synced 2024-08-16 12:29:49 +02:00
update github actions
This commit is contained in:
parent
59dca52aa9
commit
275bf087da
3 changed files with 10 additions and 8 deletions
5
.github/workflows/ansible-linting-check.yml
vendored
5
.github/workflows/ansible-linting-check.yml
vendored
|
@ -14,9 +14,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Lint Ansible Playbook
|
- name: 'Lint Ansible Playbook'
|
||||||
uses: ansible/ansible-lint-action@v6
|
uses: ansible/ansible-lint-action@v6
|
||||||
with:
|
with:
|
||||||
targets: "."
|
targets: "."
|
||||||
|
|
6
.github/workflows/galaxy.yml
vendored
6
.github/workflows/galaxy.yml
vendored
|
@ -12,9 +12,11 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: 'checkout git repo'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: galaxy
|
|
||||||
|
- name: 'release on galaxy'
|
||||||
uses: robertdebock/galaxy-action@1.2.0
|
uses: robertdebock/galaxy-action@1.2.0
|
||||||
with:
|
with:
|
||||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||||
|
git_branch: 'main'
|
||||||
|
|
7
.github/workflows/yamllint.yaml
vendored
7
.github/workflows/yamllint.yaml
vendored
|
@ -7,18 +7,17 @@ on:
|
||||||
branches: '*'
|
branches: '*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: '*'
|
branches: '*'
|
||||||
schedule:
|
|
||||||
- cron: '23 6 * 3,6,9,12 *'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
yamllint:
|
yamllint:
|
||||||
name: 'Yamllint'
|
name: 'Yamllint'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'checkout git repo'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: 'Yamllint'
|
- name: 'Yamllint'
|
||||||
uses: karancode/yamllint-github-action@master
|
uses: karancode/yamllint-github-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
yamllint_file_or_dir: '.'
|
yamllint_file_or_dir: '.'
|
||||||
yamllint_config_filepath: './.yamllint'
|
yamllint_config_filepath: './.yamllint'
|
||||||
|
|
Loading…
Reference in a new issue