-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 950 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Release
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '**/*.tpl'
- '**/*.py'
- '**/*.tf'
- '.github/workflows/release.yml'
jobs:
release:
runs-on: ubuntu-latest
# Skip running release workflow on forks
if: github.repository_owner == 'justtrackio'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: '0'
- name: Release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: '21.1.1'
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
conventional-changelog-conventionalcommits@6.1.0
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'main'
]
env:
GITHUB_TOKEN: ${{ secrets.GH_SEMANTIC_RELEASE_TOKEN_2024 }}