File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -5,32 +5,24 @@ name: Release
55
66on :
77 push :
8- # Trigger on push to the primary branch (usually 'main' or 'master')
98 branches :
109 - main
11- workflow_dispatch :
1210
1311jobs :
1412 release-please :
1513 runs-on : ubuntu-latest
1614 permissions :
17- # Required for creating releases and pushing changes to the repository
1815 contents : write
19- # Required for managing pull requests (Crucial for creating the release PR)
2016 pull-requests : write
2117
2218 steps :
23- - name : Checkout repository
24- uses : actions/checkout@v4
25-
26- # 1. Run the release-please action
27- # Using the recommended 'googleapis/release-please-action'
28- - name : Run Release Please
29- uses : googleapis/release-please-action@v4
19+ - uses : actions/checkout@v4
20+ - name : Install dependencies
21+ run : npm install
22+ - uses : googleapis/release-please-action@v4
3023 id : release
3124 with :
3225 release-type : node
26+ package-name : repo-description
3327 target-branch : main
34- # Passing the GITHUB_TOKEN via the 'token' input for maximum reliability
35- # in creating Pull Requests (resolves the permission error).
3628 token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments