chore: pin third-party GitHub Actions to commit SHAs (#45) #23
This file contains hidden or 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@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4.4.0 | ||
| id: release | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| target-branch: ${{ github.ref_name }} | ||
| call-workflow-publish: | ||
|
Check failure on line 27 in .github/workflows/release-please.yml
|
||
| 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 | ||