File tree Expand file tree Collapse file tree 2 files changed +42
-7
lines changed
Expand file tree Collapse file tree 2 files changed +42
-7
lines changed Original file line number Diff line number Diff line change 11name : Release
2-
32on :
43 push :
5- branches : [main]
4+ branches :
5+ - main # or main
6+ workflow_dispatch : # Add this line to enable manual triggering
7+
8+ concurrency :
9+ group : release
10+ cancel-in-progress : false
611
712permissions :
813 contents : write
9- pull-requests : write
1014
1115jobs :
12- release-please :
16+ release :
17+ name : Release
1318 runs-on : ubuntu-latest
1419 steps :
15- - uses : googleapis/release-please-action@v4
20+ - name : Checkout
21+ uses : actions/checkout@v5
1622 with :
17- release-type : php
18- package-name : export-response
23+ fetch-depth : 0
24+ - name : Release
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ run : |
28+ npx --yes \
29+ -p semantic-release \
30+ -p @semantic-release/changelog \
31+ -p @semantic-release/git \
32+ semantic-release
Original file line number Diff line number Diff line change 1+ {
2+ "branches" : [" main" ],
3+ "plugins" : [
4+ " @semantic-release/commit-analyzer" ,
5+ " @semantic-release/release-notes-generator" ,
6+ [
7+ " @semantic-release/changelog" ,
8+ {
9+ "changelogFile" : " CHANGELOG.md"
10+ }
11+ ],
12+ " @semantic-release/github" ,
13+ [
14+ " @semantic-release/git" ,
15+ {
16+ "assets" : [" CHANGELOG.md" ],
17+ "message" : " chore(release): ${nextRelease.version}\n\n ${nextRelease.notes}"
18+ }
19+ ]
20+ ]
21+ }
You can’t perform that action at this time.
0 commit comments