fix: propagating NPE fix for ContextBuilder.fromContext bug (#246) #4
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: | |
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 | |
# TODO: revert dry run put in place during testing | |
dry_run: true | |
prerelease: false |