-
Notifications
You must be signed in to change notification settings - Fork 19
29 lines (29 loc) · 1.47 KB
/
release-please.yaml
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:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
token: ${{ secrets.NODESHIFT_RELEASES_TOKEN }}
release-type: node
bump-minor-pre-major: "true"
package-name: faas-js-runtime
changelog-types: '[{"type":"enhancement","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"cleanup","section":"Miscellaneous","hidden":false},{"type":"api-change","section":"API Changes","hidden":false},{"type":"documentation","section":"Documentation","hidden":false},{"type":"techdebt","section":"Miscellaneous","hidden":false},{"type":"proposal","section":"Miscellaneous","hidden":false},{"type":"feat","section":"Features","hidden":false}]'
- uses: actions/checkout@v2
with:
ref: release-please--branches--main--components--faas-js-runtime
- name: Update package SBOM
if: ${{steps.release.outputs.release-created}} == 'false'
run: |
git config --global user.name "NodeShift Bot (As Luke Holmquist)"
git config --global user.email "lholmqui@redhat.com"
npm run sbom
git add .
git commit --signoff -m "chore: update SBOM"
git push origin release-please--branches--main--components--faas-js-runtime