From 3141a8a01bb1e84333b07f0a8eed6d186a6fc6af Mon Sep 17 00:00:00 2001 From: David Gidwani Date: Sun, 10 Mar 2024 20:02:39 -0400 Subject: [PATCH] ci: :ferris_wheel: add release environment --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b94a27a..7c0cb16 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,6 +16,7 @@ jobs: publish: name: 📦 Publish to GitHub Releases and PyPI runs-on: ubuntu-latest + environment: release if: github.event.pull_request.merged == true && github.event.pull_request.head.ref == ${{ vars.RELEASE_PR_BRANCH || 'create-pull-request/patch' }} concurrency: publish needs: [build]