Skip to content

release-please

release-please #775

name: release-please
on:
workflow_run:
workflows: [ci]
types: [completed]
branches:
- main
- 'release-[0-9]*'
permissions:
contents: write
pull-requests: write
jobs:
release-please:
if: ${{ github.event.workflow_run.event == 'push' && github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
env:
TARGET_BRANCH: ${{ github.event.workflow_run.head_branch }}
CONFIG_FILE: .release-please-config.json
MANIFEST_FILE: .release-please-manifest.json
steps:
- uses: googleapis/release-please-action@v5
with:
token: ${{ secrets.RELEASE_PLEASE_PAT }}
config-file: ${{ env.CONFIG_FILE }}
manifest-file: ${{ env.MANIFEST_FILE }}
target-branch: ${{ env.TARGET_BRANCH }}