-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (33 loc) · 1.2 KB
/
publish.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
# EXIP Git Hub Actions
#####################################
# This GHA is responsible for release version updates.
name: Automated release
run-name: Executing release on ${{ github.repository }} 🚀
on:
push:
branches: [main]
jobs:
# 1. `package.json`, `README.md` and `CHANGELOG.md` updates
release:
name: Release setup 🔧
runs-on: ubuntu-latest
steps:
- name: New release ⚡️
uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: uk-export-finance/exip
default-branch: main
labels: "chore"
changelog-types: '[
{ "type": "feat", "section": "Features", "hidden": false},
{ "type": "fix", "section": "Bug Fixes", "hidden": false},
{ "type": "chore", "section": "Miscellaneous", "hidden": false},
{ "type": "docs", "section": "Documentation", "hidden": false},
{ "type": "refactor", "section": "Code improvements", "hidden": false},
{ "type": "dependabot", "section": "Dependency updates", "hidden": false}
]'
extra-files: |
README.md
CHANGELOG.md