From e3f4b654b5e94df29836d75de09aa194a7ee863a Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 7 Apr 2022 22:56:47 +0200 Subject: [PATCH] update github actions --- .github/workflows/ansible-linting-check.yml | 5 +++-- .github/workflows/galaxy.yml | 10 ++++++---- .github/workflows/yamllint.yaml | 7 ++++--- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index 0b743f7..150e908 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -14,9 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: 'checkout git repo' + uses: actions/checkout@v3 - - name: Lint Ansible Playbook + - name: 'Lint Ansible Playbook' uses: ansible/ansible-lint-action@v6 with: targets: "." diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index b5dc0ec..adcecbd 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -12,9 +12,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: checkout - uses: actions/checkout@v2 - - name: galaxy - uses: robertdebock/galaxy-action@1.1.0 + - name: 'checkout git repo' + uses: actions/checkout@v3 + + - name: 'release on galaxy' + uses: robertdebock/galaxy-action@1.2.0 with: galaxy_api_key: ${{ secrets.galaxy_api_key }} + git_branch: 'main' diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index d4ad029..d744e9c 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -13,10 +13,11 @@ jobs: name: 'Yamllint' runs-on: ubuntu-latest steps: - - name: 'Checkout' - uses: actions/checkout@master + - name: 'checkout git repo' + uses: actions/checkout@v3 + - name: 'Yamllint' - uses: karancode/yamllint-github-action@master + uses: karancode/yamllint-github-action@v2.0.0 with: yamllint_file_or_dir: '.' yamllint_config_filepath: './.yamllint'