1.0.1 #32
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: Release Please | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Ensure release-please token is configured | |
| run: | | |
| if [ -z "${{ secrets.RELEASE_PLEASE_TOKEN }}" ]; then | |
| echo "RELEASE_PLEASE_TOKEN secret is required so release PRs can trigger downstream CI workflows." >&2 | |
| exit 1 | |
| fi | |
| - uses: googleapis/release-please-action@v4 | |
| with: | |
| release-type: node | |
| token: ${{ secrets.RELEASE_PLEASE_TOKEN }} |