From b356b954b2a437dbf9012f9cb3074dff18b47450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=A9o=20M=C3=A9vollon?= Date: Tue, 25 Oct 2022 12:20:36 +0200 Subject: [PATCH] fix: on push release --- .github/workflows/release.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62f6274..6450f54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,6 @@ name: Release on: - pull_request: - types: - - closed + push: branches: - master workflow_dispatch: @@ -10,8 +8,6 @@ on: jobs: release: name: Release - # the closed PR trigger is not necessarily a merge - if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: - name: Checkout @@ -29,5 +25,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # semantic-release won't run on PRs without the --no-ci flag - run: npx semantic-release --no-ci + run: npx semantic-release