From 2f2bb9be60900793334e94f9991b903801baabe4 Mon Sep 17 00:00:00 2001 From: Aaron-Ritter Date: Thu, 6 Jun 2024 13:11:45 +0200 Subject: [PATCH] ci(workflows): update triggers --- .../workflows/e2e-test-fusionauth-matrix-android-latest.yml | 6 +++++- .github/workflows/pre-release.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-test-fusionauth-matrix-android-latest.yml b/.github/workflows/e2e-test-fusionauth-matrix-android-latest.yml index b88e036..c92d81c 100644 --- a/.github/workflows/e2e-test-fusionauth-matrix-android-latest.yml +++ b/.github/workflows/e2e-test-fusionauth-matrix-android-latest.yml @@ -11,9 +11,13 @@ name: E2E Test with FusionAuth supported versions on: - # This version is older than 6 months and will not automatically run. # To allow running this workflow manually from the Actions tab we add: workflow_dispatch: + # Triggers the workflow on push request events but only for tag versions + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]' + - 'v[0-9]+.[0-9]+.[0-9]+-*' # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 44b6f0c..edfd88a 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -15,7 +15,7 @@ name: Maven Pre-Release on: - # Triggers the workflow on push or pull request events but only for default and protected branches + # Triggers the workflow on push request events but only for tag versions push: tags: - 'v[0-9]+.[0-9]+.[0-9]+-*' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c1b1cf9..2c34391 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ name: Maven Release on: - # Triggers the workflow on push or pull request events but only for default and protected branches + # Triggers the workflow on push request events but only for tag versions push: tags: - 'v[0-9]+.[0-9]+.[0-9]'