Skip to content

Commit 93b247c

Browse files
CopilotNoopDog
andauthored
ci: update release-please workflow to use default github token and allow manual triggering (#4597) (#4598)
* Initial plan * Update release-please.yml to use secrets.GITHUB_TOKEN Co-authored-by: NoopDog <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: NoopDog <[email protected]>
1 parent 1831f92 commit 93b247c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches:
44
- main
5+
workflow_dispatch: # Enable manual triggering
56

67
permissions:
78
contents: write
@@ -17,8 +18,4 @@ jobs:
1718
id: release
1819
with:
1920
config-file: release-please-config.json
20-
# this assumes that you have created a personal access token
21-
# (PAT) and configured it as a GitHub action secret named
22-
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
23-
token: ${{ secrets.HCA_RELEASE_PLEASE_TOKEN }}
24-
# This is a built-in strategy in release-please, see "Action Inputs" for more options
21+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)