From c996d7d7d10a2abcb2715f9fb1aaef063fcc66c3 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 13 Mar 2023 06:18:28 -0400 Subject: [PATCH] fix publishing upon PR merge (#3056) * fix publishing upon PR merge * release alphas on push to develop * do not run PR workflow on merges * add pull request types --- .github/workflows/pull-request.yml | 3 +-- .github/workflows/release.yml | 8 +------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index f48b8ae95b..eee1db471b 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,9 +1,8 @@ name: "Pull request" on: - push: - branches: [master, develop] pull_request: + types: [opened, synchronize, reopened] branches: [master, develop] concurrency: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0130f33bea..44f1fd352e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,16 +8,10 @@ on: required: false type: boolean default: true - pull_request: - types: [closed] - branches: - - develop - - master - - develop-patch* - - master-patch* push: branches: - master + - develop env: APP_CONFIG_ECM_HOST: ${{ secrets.PIPELINE_ENV_URL }}