Skip to content

chore(main): release 3.36.1 (#638) #340

chore(main): release 3.36.1 (#638)

chore(main): release 3.36.1 (#638) #340

name: Release Please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN_CLASSIC }}
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json
# Auto-merge the release PR
- name: Enable Pull Request Automerge
if: ${{ steps.release.outputs.pr }}
run: |
PR_NUMBER="${{ fromJSON(steps.release.outputs.pr).number }}"
gh pr merge --auto --squash --delete-branch "$PR_NUMBER"
env:
GH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN_CLASSIC }}
GH_REPO: ${{ github.repository }}