Skip to content

Remove unused promise retry library #415

Remove unused promise retry library

Remove unused promise retry library #415

name: Watch for and start Github Release
on:
pull_request_target:
branches:
- main
types:
- closed
jobs:
get-source-branch-name:
# GHA does not provide short name for branch being merged in. This shortens it so we can validate it with startsWith()
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
outputs:
sourceName: ${{ steps.sourceName.outputs.sourceName }}
steps:
- uses: actions/checkout@v4
- name: Remove 'refs/heads/' from GITHUB_HEAD_REF
shell: bash
id: sourceName
run: echo "sourceName=${GITHUB_HEAD_REF#refs/heads/}" >> $GITHUB_OUTPUT
validate-release:
needs: [get-source-branch-name]
if: startsWith(needs.get-source-branch-name.outputs.sourceName, 'release-')
uses: ./.github/workflows/tps-check-lock.yml
secrets: inherit
start-release:
needs: [validate-release]
uses: ./.github/workflows/tag-create-github-release.yml
secrets: inherit