From d2fdc05d66a9dcb7c7daa801fa4d92ef38de3366 Mon Sep 17 00:00:00 2001 From: Jun Kurihara Date: Thu, 12 Oct 2023 16:03:49 +0900 Subject: [PATCH] fix: fix release flow - limit focus --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5d2f18..3cd2bf8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: - "Build and publish docker" types: - "completed" + branches: + - main + - develop pull_request: types: [closed] branches: @@ -13,7 +16,7 @@ on: jobs: on-success: runs-on: ubuntu-latest - if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' }} || ${{github.event_name == 'push' }} || ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' }} || ${{ github.event_name == 'pull_request' }} strategy: fail-fast: false matrix: