Skip to content

Process Release on main c64825747d711fdde76c2445afc02e87f3ad911f #4

Process Release on main c64825747d711fdde76c2445afc02e87f3ad911f

Process Release on main c64825747d711fdde76c2445afc02e87f3ad911f #4

Workflow file for this run

name: Release
run-name: Process Release on ${{ github.event.workflow_run.head_branch }} `${{ github.event.workflow_run.head_sha }}`
on:
workflow_run:
workflows: ["Go"]
branches: [main]
types:
- completed
concurrency:
group: release-please-${{ github.ref }}
jobs:
release-please:
name: Release Please
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/release-please-action@v4
fail-release:
name: Fail Release
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'failure'
steps:
- run: |
echo "::error ::Cannot release unless 'Go' workflow suceeds!"
exit 1