Disable deployment record for release workflow

Set deployment: false on the publish environment so the release
job accesses environment protection rules and secrets without
creating a deployment record.
This commit is contained in:
Salman Chishti
2026-03-18 15:57:15 +00:00
committed by GitHub
parent bd6ce5923b
commit b56cf5c252
+3 -1
View File
@@ -50,7 +50,9 @@ jobs:
return true;
release:
environment: publish
environment:
name: publish
deployment: false
needs: check-version-change
if: ${{ needs.check-version-change.outputs.changed == 'true' }}