name: Release Please on: push: branches: [main] workflow_dispatch: permissions: contents: write pull-requests: write issues: write actions: write jobs: release-please: name: Release Please runs-on: ubuntu-latest steps: - name: Run release-please uses: googleapis/release-please-action@v4 id: release with: config-file: release-please-config.json manifest-file: .release-please-manifest.json token: ${{ secrets.RELEASE_PLEASE_TOKEN != '' && secrets.RELEASE_PLEASE_TOKEN || secrets.GITHUB_TOKEN }} - name: Tag release notes if: ${{ steps.release.outputs.release_created == 'true' }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ steps.release.outputs.tag_name }} run: echo "released $TAG from conventional commits between releases"