ci: add ci step to validate pr title (#57) #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
name: Run Release Please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
# Release-please creates a PR that tracks all changes | |
steps: | |
- uses: google-github-actions/release-please-action@v3 | |
id: release | |
with: | |
release-type: simple | |
command: manifest | |
default-branch: main | |
- name: Dump Release Please Output | |
env: | |
RELEASE_PLEASE_OUTPUT: ${{ toJson(steps.release.outputs) }} | |
run: | | |
echo "$RELEASE_PLEASE_OUTPUT" | |
# Outputs are namespaced by package when using a manifest in Release Please | |
outputs: | |
release_created: ${{ steps.release.outputs['ConfidenceProvider--release_created'] }} | |
# Version doesn't include `v` as a prefix. This is undocumented | |
version: ${{ steps.release.outputs['ConfidenceProvider--version'] }} | |
upload_url: ${{ steps.release.outputs['ConfidenceProvider--upload_url'] }} |