-
Notifications
You must be signed in to change notification settings - Fork 24
21 lines (21 loc) Β· 1.26 KB
/
release.yml
File metadata and controls
21 lines (21 loc) Β· 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
on:
push:
branches:
- master
- 'hotfix/**'
name: release
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- name: Extract branch name
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
- uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.CI_TOKEN }}
release-type: node
include-v-in-tag: false
default-branch: ${{ env.BRANCH_NAME }}
changelog-types: '[{"type": "feat", "section": "π Features"}, {"type": "fix", "section": "π Bug Fixes"}, {"type": "perf", "section": "πͺ Performance Improvements"}, {"type": "deps", "section": "ποΈ Dependencies", "hidden": true}, {"type": "revert", "section": "β© Reverts"}, {"type": "docs", "section": "π Documentation", "hidden": true}, {"type": "style", "section": "π¨ Styles", "hidden": true}, {"type": "chore", "section": "π§Ή Miscellaneous Chores", "hidden": true}, {"type": "refactor", "section": "π Code Refactoring", "hidden": true}, {"type": "test", "section": "π¬ Tests", "hidden": true}, {"type": "build", "section": "ποΈ Build System", "hidden": true}, {"type": "ci", "section": "π€ Continuous Integration", "hidden": true}]'