-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (46 loc) · 1.27 KB
/
core.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
41
42
43
44
45
46
47
48
49
name: Core
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
release:
name: Changelog & Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Parse
id: parse
uses: alorel-actions/semantic-release-lite@v0
with:
minor-types: |
feat: Features
patch-types: |
fix: Bug Fixes
deps: Dependency updates
perf: Performance
ux: UX
trivial-types: |
chore: Maintenance
ci: CI & Build
build: CI & Build
refactor: Refactors
docs: Documentation
- name: Release
uses: ./.github/actions/release
if: ${{ steps.parse.outputs.should-release && github.ref == 'refs/heads/master' }}
with:
major: ${{ steps.parse.outputs.next-version-major }}
minor: ${{ steps.parse.outputs.next-version-minor }}
patch: ${{ steps.parse.outputs.next-version-patch }}
changelog: ${{ steps.parse.outputs.changelog }}
issues-closed: ${{ steps.parse.outputs.issues-closed }}