From 7790391b5022b578d9ed4833a554d3d4c595b28b Mon Sep 17 00:00:00 2001 From: Leifer Mendez Date: Mon, 12 Dec 2022 14:43:38 +0100 Subject: [PATCH] ci(ci): :sparkles: releases action --- .github/workflows/ci.yml | 2 +- .github/workflows/releases.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5309ac9..aa05560 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: BotWhatsapp CI +name: BotWhatsapp Build-Test on: pull_request: diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index f56b98b..f1f74dd 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -1,7 +1,8 @@ -name: BotWhatsapp CI +name: BotWhatsapp Releases on: pull_request: + types: [closed] branches: - next-release @@ -10,6 +11,7 @@ jobs: release: name: Release runs-on: ubuntu-latest + if: github.event.pull_request.merged == 'true' steps: - name: Checkout uses: actions/checkout@v3