Skip to content

Commit 3138bf8

Browse files
fix(ci): add environment declaration for release-please secret access (#27)
* Initial plan * fix(ci): restore github.token fallback for release-please When secrets.RELEASE_PLEASE_TOKEN is not configured, fall back to github.token so the release-please job doesn't fail with "Input required and not supplied: token". Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com> * fix(ci): add environment: main to release-please job for env secret access The RELEASE_PLEASE_TOKEN is an environment secret under the 'main' environment. The job needs to declare this environment to access it. Remove the github.token fallback since the secret is configured. Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com>
1 parent 6de3492 commit 3138bf8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414

1515
release-please:
1616
runs-on: ubuntu-24.04
17+
environment: main
1718
outputs:
1819
release_created: ${{ steps.release.outputs.release_created }}
1920
steps:

0 commit comments

Comments
 (0)