1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

Merge pull request #127 from roles-ansible/a

Update Actions
This commit is contained in:
L3D 2023-10-22 19:45:11 +02:00 committed by GitHub
commit d64de52804
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 33 deletions

View file

@ -13,8 +13,6 @@ jobs:
- name: 'checkout git repo'
uses: actions/checkout@v4.1.1
with:
lfs: true
submodules: true
fetch-depth: 0
- name: Run ansible-lint

View file

@ -1,5 +1,5 @@
---
name: Galaxy release
name: Galaxy-NG Roles Import
# yamllint disable-line rule:truthy
on:
@ -8,13 +8,17 @@ on:
jobs:
build:
name: Galaxy Role Importer
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
uses: actions/checkout@v4
- name: 'release on galaxy'
uses: robertdebock/galaxy-action@1.2.1
steps:
- name: 'Checkout git repo'
uses: actions/checkout@v4
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
git_branch: 'main'
submodules: true
fetch-depth: 0
- name: 'Release on galaxy'
uses: ansible-actions/ansible-galaxy-action@v1.0.0
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }

View file

@ -1,23 +0,0 @@
---
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@v4
- name: 'Yamllint'
uses: karancode/yamllint-github-action@v2.1.1
with:
yamllint_file_or_dir: '.'
yamllint_config_filepath: './.yamllint'