File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : schedule-release.yml
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - ' 0 13 * * *'
6+
7+ permissions :
8+ contents : write
9+
10+ jobs :
11+ tag-release :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v6
16+
17+ - name : Setup Node
18+ uses : actions/setup-node@v6
19+ with :
20+ node-version : " 24"
21+
22+ - name : Tag new release
23+ run : |
24+ npx --package @semantic-release/git semantic-release
25+ env :
26+ GH_TOKEN : ${{ secrets.MACHINE_USER_TOKEN }}
27+ GIT_AUTHOR_NAME : mittwald-machine[bot]
28+ GIT_AUTHOR_EMAIL : opensource@mittwald.de
Original file line number Diff line number Diff line change 1+ /** @type {import("semantic-release").GlobalConfig } */
2+ module . exports = {
3+ branches : [ "master" ] ,
4+ plugins : [
5+ "@semantic-release/commit-analyzer" ,
6+ "@semantic-release/release-notes-generator" ,
7+ [
8+ "@semantic-release/git" ,
9+ {
10+ message : `chore(release): \${nextRelease.version}\n\n\${nextRelease.notes}` ,
11+ } ,
12+ ] ,
13+ ] ,
14+ } ;
You can’t perform that action at this time.
0 commit comments