From 78b2e2f2272021c9d661e1cf8026554cd479c1b4 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 22 Oct 2023 19:42:57 +0200 Subject: [PATCH] Update Actions --- .github/workflows/ansible-linting-check.yml | 2 -- .github/workflows/galaxy.yml | 20 +++++++++++------- .github/workflows/yamllint.yaml | 23 --------------------- 3 files changed, 12 insertions(+), 33 deletions(-) delete mode 100644 .github/workflows/yamllint.yaml diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index 949c09a..006a20e 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -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 diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index 0b12f52..d099de3 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -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 } diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml deleted file mode 100644 index 99bb4c4..0000000 --- a/.github/workflows/yamllint.yaml +++ /dev/null @@ -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'