From ac67ad8040b8f6e5dcb1ac35170a3e57dbf5fc54 Mon Sep 17 00:00:00 2001 From: Thinh Trinhduc Date: Sat, 27 Jan 2024 16:32:38 +0700 Subject: [PATCH 1/2] ci: updated relase workflow --- .github/workflows/release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3268cdb..eb96440 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,11 +5,8 @@ permissions: contents: read on: - push: - branches: - - release workflow_run: - workflows: ['test', 'lint'] + workflows: ['test'] types: - completed From e026c39356df58f870126357fee837ddb91c207f Mon Sep 17 00:00:00 2001 From: Thinh Trinhduc Date: Sat, 27 Jan 2024 16:44:39 +0700 Subject: [PATCH 2/2] ci: added environment --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb96440..06069bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ jobs: release: name: 🚀 Release runs-on: ubuntu-latest + environment: Release steps: - name: 🛑 Cancel Previous Runs uses: styfle/cancel-workflow-action@0.11.0