From 4c3476fcf0d106ba6aba0076a261602bb7146ccb Mon Sep 17 00:00:00 2001 From: Duc Trung Le Date: Mon, 11 Mar 2024 10:52:51 +0100 Subject: [PATCH] Use release environment in CI --- .github/workflows/prep-release.yml | 1 + .github/workflows/publish-release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/prep-release.yml b/.github/workflows/prep-release.yml index 7afdc9b..c7c0297 100644 --- a/.github/workflows/prep-release.yml +++ b/.github/workflows/prep-release.yml @@ -22,6 +22,7 @@ on: jobs: prep_release: runs-on: ubuntu-latest + environment: release steps: - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 35bc2ab..6597f84 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -15,6 +15,7 @@ on: jobs: publish_release: runs-on: ubuntu-latest + environment: release permissions: id-token: write steps: