Skip to content

Commit ebf3532

Browse files
author
zhoukai
committed
fix: re-enable environment protection with proper secrets configuration
- Add environment-specific GH_TOKEN to release environment - Restore environment protection for approval workflow - Confirmed that environments require their own secrets, not inherited from repository level
1 parent cd0d377 commit ebf3532

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ jobs:
286286
runs-on: ubuntu-latest
287287
needs: [build, source-archive, create-tag]
288288
if: always() && needs.create-tag.result == 'success'
289+
environment: release
289290

290291
steps:
291292
- name: Checkout code

0 commit comments

Comments
 (0)