Skip to content

Call finalize release and remove the release branch #1

Call finalize release and remove the release branch

Call finalize release and remove the release branch #1

name: Finalize Release

Check failure on line 1 in .github/workflows/finalize_release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/finalize_release.yml

Invalid workflow file

`remove_release_branch` is not a valid event name
# Every time we trigger the workflow on a branch.
on:
workflow_call:
inputs:
version-name:
required: true
type: string
remove_release_branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove release branch
env:
VERSION_NAME: ${{ inputs.version-name }}
run: |
RELEASE_BRANCH_NAME="release/$VERSION_NAME"
git push origin --delete $RELEASE_BRANCH_NAME