chore(main): release 5.1.0 (#258) #15
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
name: Run Release Please | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # Needed for OIDC to get release secrets. | |
contents: write # Contents and pull-requests are for release-please to make releases. | |
pull-requests: write | |
outputs: | |
releases_created: ${{ steps.release.outputs.releases_created }} | |
steps: | |
- uses: google-github-actions/release-please-action@v4 | |
id: release | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
target-branch: ${{ github.ref_name }} | |
call-workflow-publish: | |
needs: release-please | |
uses: ./.github/workflows/publish.yml | |
if: ${{ needs.release-please.outputs.releases_created == 'true' }} | |
with: | |
run_tests: true | |
dry_run: false | |
prerelease: false |