File tree 1 file changed +17
-5
lines changed
1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -5,22 +5,34 @@ permissions:
5
5
6
6
on :
7
7
push :
8
- tags :
9
- - " v* "
8
+ branches :
9
+ - alpha # Trigger on pushes to alpha branch
10
10
11
11
jobs :
12
12
release :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- uses : actions/checkout@v3
16
16
with :
17
- fetch-depth : 0
17
+ fetch-depth : 0 # Fetch all history for tagging
18
+
19
+ - name : Set Git User
20
+ run : |
21
+ git config --local user.email "[email protected] "
22
+ git config --local user.name "GitHub Action"
23
+
24
+ - name : Create Tag
25
+ run : |
26
+ git tag -a "v${{ github.run_number }}" -m "Release v${{ github.run_number }}"
27
+ git push origin "v${{ github.run_number }}"
28
+
18
29
- id : setup-bun
19
30
name : Setup Bun
20
31
uses : oven-sh/setup-bun@v1
21
32
with :
22
33
bun-version : latest
23
34
24
- - run : bunx changelogithub
35
+ - name : Generate Changelog
36
+ run : bunx changelogithub
25
37
env :
26
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments