chore(deps): update dependency @types/node to v20.17.1 #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |