From 275bf087da9b242358a0e281a3d9deae3519419a Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 7 Apr 2022 21:46:37 +0200 Subject: [PATCH] update github actions --- .github/workflows/ansible-linting-check.yml | 5 +++-- .github/workflows/galaxy.yml | 6 ++++-- .github/workflows/yamllint.yaml | 7 +++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index cee058f..01aea7e 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@v3 + - name: 'checkout git repo' + uses: actions/checkout@v2 - - 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 ef05f3d..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 + - name: 'checkout git repo' uses: actions/checkout@v3 - - name: galaxy + + - 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 cfc3e9b..d744e9c 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -7,18 +7,17 @@ on: branches: '*' pull_request: branches: '*' - schedule: - - cron: '23 6 * 3,6,9,12 *' jobs: yamllint: name: 'Yamllint' runs-on: ubuntu-latest steps: - - name: 'Checkout' + - 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'