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

Update Actions

This commit is contained in:
L3D 2023-10-22 19:42:57 +02:00
parent 4c00782214
commit 78b2e2f227
No known key found for this signature in database
GPG key ID: AD65B920933B4B20
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'