Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: release-please

permissions:
contents: write
pull-requests: write

on:
pull_request:
types: [closed]
branches: [main]

jobs:
release-please:
if: |
github.event.pull_request.merged == true &&
github.event.pull_request.user.login != 'github-actions[bot]'

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_PAT }}

- name: Configure Git User
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'

- name: Release Please
id: release
uses: google-github-actions/release-please-action@v3
timeout-minutes: 5
with:
command: manifest
config-file: 'release-please-config.json'
token: ${{ secrets.RELEASE_PAT }}

- name: Debug Output
if: always()
run: |
echo "Release created: ${{ steps.release.outputs.release_created }}"
echo "Tag: ${{ steps.release.outputs.tag_name }}"
echo "Error: ${{ steps.release.outputs.error || 'None' }}"
3 changes: 0 additions & 3 deletions .release-please-manifest.json

This file was deleted.

Loading
Loading