From 0094728f3ce606a10a6d60b6c0fb5aaf2c13bb19 Mon Sep 17 00:00:00 2001 From: Bodo Schulz Date: Wed, 11 Sep 2024 06:08:31 +0200 Subject: [PATCH] update 'push to ansible galaxy' workflow --- .github/workflows/galaxy.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index 9ec4e73..1dfd113 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -4,19 +4,15 @@ name: push to ansible galaxy on: workflow_dispatch: - workflow_run: - workflows: - - "CI" - branches: - - main - types: - - completed + push: + tags: + - '*' jobs: galaxy: name: galaxy runs-on: ubuntu-22.04 - if: ${{ github.event.workflow_run.conclusion == 'success' }} + if: startsWith(github.ref, 'refs/tags/') steps: - name: Check out the codebase uses: actions/checkout@v4