name: release-please
on:
push:
branches:
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
# googleapis/release-please-action@v4 still ships Node 20, so opt into the
# Node 24 runtime until upstream publishes a Node 24-based release.
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
steps:
- uses: googleapis/release-please-action@v4
with:
# Use a PAT so the tag and Release PR it creates trigger downstream
# workflows (publish.yml, release.yml). GITHUB_TOKEN-created events
# cannot trigger other workflows by design.
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json