Skip to content

chore(deps-dev): bump @types/supports-color from 5.3.0 to 8.1.3 #255

chore(deps-dev): bump @types/supports-color from 5.3.0 to 8.1.3

chore(deps-dev): bump @types/supports-color from 5.3.0 to 8.1.3 #255

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@v3
- name: Remove 'refs/heads/' from GITHUB_HEAD_REF
shell: bash
id: sourceName
run: echo "sourceName=${GITHUB_HEAD_REF#refs/heads/}" >> $GITHUB_OUTPUT
start-release:
needs: [ get-source-branch-name ]
if: startsWith(needs.get-source-branch-name.outputs.sourceName, 'release-')
uses: ./.github/workflows/tag-create-github-release.yml
secrets: inherit