feat: Enable OPTIONS preflight and a method to enable cros origins (#… #199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |