We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c77ea commit 308272cCopy full SHA for 308272c
.github/workflows/sync-tag-to-release.yml
@@ -0,0 +1,32 @@
1
+name: sync-tag-to-release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: true
11
12
+jobs:
13
+ sync-tag-to-release:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
20
+ - uses: pnpm/action-setup@v4
21
22
+ - uses: actions/setup-node@v4
23
24
+ node-version: 20
25
+ cache: 'pnpm'
26
27
+ # 1. publish local
28
+ # 2. push tag to github
29
+ # 3. sync tag -> release, add changelog
30
+ - run: pnpx changeloggithub@0
31
+ env:
32
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments