From 2166b4d24164b99837e13287156f39f97e989ec8 Mon Sep 17 00:00:00 2001 From: gamezftw Date: Thu, 18 Jul 2024 09:46:25 +0200 Subject: [PATCH] refactor(workflow): run workflow on tag created add `tags` filter on `push` trigger remove `paths-ignore` filter from `push` since it is triggered on tag --- .github/workflows/galaxy_release.yml | 19 ------------------- .github/workflows/molecule.yml | 4 ++-- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/galaxy_release.yml diff --git a/.github/workflows/galaxy_release.yml b/.github/workflows/galaxy_release.yml deleted file mode 100644 index 732d1fc..0000000 --- a/.github/workflows/galaxy_release.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -# -# Ansible managed -# - -name: Release to Ansible Galaxy - -on: - release: - types: [created, edited, published, released] -jobs: - release: - runs-on: ubuntu-20.04 - steps: - - name: galaxy - uses: robertdebock/galaxy-action@1.2.1 - with: - galaxy_api_key: ${{ secrets.galaxy_api_key }} - git_branch: main diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 1ecb70a..215bc3f 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -4,8 +4,8 @@ name: Ansible Molecule on: # yamllint disable-line rule:truthy push: - paths-ignore: - - 'README.md' + tags: + - '**' pull_request: branches: - main