Skip to content

release-please

release-please #28

name: release-please
on:
workflow_dispatch: # Workflow dispatch is used for manual triggers.
workflow_run:
workflows: [ "Main CI/CD" ]
types:
- completed
jobs:
release-please:
permissions: write-all
runs-on: ubuntu-24.04
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
config-file: 'release-please-config.json'
manifest-file: '.release-please-manifest.json'
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
no-release-created:
if: ${{ needs.release-please.outputs.release_created == 'false' }}
runs-on: ubuntu-24.04
steps:
- name: No release created
run: |
echo "No release created, setting output to false, to avoid triggering publish workflow."
exit 1