From ddda967d5a6ae3e5a3819bea3b0c8f5b9849bed5 Mon Sep 17 00:00:00 2001 From: rafal-gorecki Date: Thu, 1 Feb 2024 11:30:02 +0100 Subject: [PATCH] fix --- .github/workflows/bump.yaml | 3 ++- .github/workflows/integration.yaml | 6 ++++-- .github/workflows/tests.yaml | 7 ++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bump.yaml b/.github/workflows/bump.yaml index e1f28028..b5c36f33 100644 --- a/.github/workflows/bump.yaml +++ b/.github/workflows/bump.yaml @@ -1,5 +1,6 @@ --- -name: Bump +name: Bump Version + on: workflow_call: workflow_dispatch: diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index b81da05c..88901f04 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -3,6 +3,9 @@ name: CI on: push: + pull_request: + types: + - closed jobs: tests: @@ -12,6 +15,5 @@ jobs: bump: name: Bump needs: tests - if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || github.event_name - == 'workflow_dispatch' }} + if: github.event.pull_request.merged == true uses: ./.github/workflows/bump.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2790fc9d..7f7e84aa 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,8 +1,9 @@ --- -name: Tests +name: Run Tests + on: - workflow_call: - workflow_dispatch: + workflow_call: + workflow_dispatch: jobs: black: