Skip to content

chore(deps): update dependency @types/node to v20.17.1 #37

chore(deps): update dependency @types/node to v20.17.1

chore(deps): update dependency @types/node to v20.17.1 #37

name: Remove unnecessary tag
on:
pull_request:
types:
- closed
branches:
- main
jobs:
remove-unnecessary-tag:
if: github.event.pull_request.merged == false && startsWith(github.event.pull_request.head.ref , 'release/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get Version
id: version
env:
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
run: echo "VERSION=${BRANCH_NAME:8}" >> $GITHUB_OUTPUT
- name: Remove unnecessary tag
run: git push --delete origin ${{ steps.version.outputs.VERSION }}