-
Notifications
You must be signed in to change notification settings - Fork 16
29 lines (26 loc) · 940 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
on:
push:
branches: [master]
name: release-please
jobs:
release-please:
uses: circlefin/circle-public-github-workflows/.github/workflows/conventional-commit-release.yaml@v1
if: ${{ github.repository_owner == 'circlefin' }}
with:
release_type: node
changelog_types: |
[
{"type":"feat","section":"New Features","hidden":false},
{"type":"fix","section":"Fixes","hidden":false},
{"type":"chore","section":"Miscellaneous","hidden":true}
npm-publish:
needs: release-please
if: needs.release-please.outputs.did-create-release
uses: ./.github/workflows/npm-publish.yml
secrets: inherit
release-sbom:
needs: release-please
if: needs.release-please.outputs.release_created
uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1
with:
release_tag: ${{ needs.release-please.outputs.release-tag }}