File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - main
8
+ - master
9
+ paths :
10
+ - ' **/*.tpl'
11
+ - ' **/*.py'
12
+ - ' **/*.tf'
13
+ - ' .github/workflows/release.yml'
14
+
15
+ jobs :
16
+ release :
17
+ runs-on : ubuntu-latest
18
+ # Skip running release workflow on forks
19
+ if : github.repository_owner == 'justtrackio'
20
+ steps :
21
+ - name : Checkout
22
+ uses : actions/checkout@v3
23
+ with :
24
+ persist-credentials : false
25
+ fetch-depth : 0
26
+
27
+ - name : Release
28
+ uses : cycjimmy/semantic-release-action@v3
29
+ with :
30
+ semantic_version : 19.0.5
31
+ extra_plugins : |
32
+ @semantic-release/changelog
33
+ @semantic-release/git
34
+ conventional-changelog-conventionalcommits
35
+ branches : |
36
+ [
37
+ '+([0-9])?(.{+([0-9]),x}).x',
38
+ 'master',
39
+ 'main'
40
+ ]
41
+ env :
42
+ GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
You can’t perform that action at this time.
0 commit comments