diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 009c872..4158eb9 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -10,8 +10,18 @@ jobs: - uses: GoogleCloudPlatform/release-please-action@v3 id: release with: - token: ${{ secrets.NODESHIFT_RELEASES_TOKEN }} + token: ${{ secrets.GITHUB_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 + - name: Update package SBOM + if: ${{steps.release.outputs.release-created}} == 'false' + run: | + git config --global user.name "NodeShift Bot" + git config --global user.email "lholmqui@redhat.com" + git checkout release-please--branches--main--components--faas-js-runtime + npm run sbom + git add . + git commit -m "chore: update SBOM"