-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (41 loc) · 1001 Bytes
/
Copy pathrelease.yml
File metadata and controls
45 lines (41 loc) · 1001 Bytes
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
41
42
43
44
45
name: Release
on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- '**.tpl'
- '**.py'
- '**.tf'
- '.github/workflows/release.yml'
permissions:
contents: read
jobs:
release:
permissions:
contents: write
issues: write
pull-requests: write
name: Release
runs-on: ubuntu-latest
# Skip running release workflow on forks
if: github.repository_owner == 'Perun-Engineering'
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: 23.0.2
branches: main
extra_plugins: |
@semantic-release/changelog@6.0.3
@semantic-release/git@10.0.1
conventional-changelog-conventionalcommits@7.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}