Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

release_v_2.24.0

release_v_2.24.0 #74

name: Tag Release
on:
pull_request:
types:
- closed
branches:
- 'main'
jobs:
tag-release:
name: Tag on Release
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged == true && startsWith( github.head_ref, 'release_v_' ) }}
steps:
- name: 🧮 Checkout code
uses: actions/checkout@v3
- name: Get Version
uses: mad9000/actions-find-and-replace-string@3
id: get-version
with:
source: ${{ github.head_ref }}
find: 'release_v_'
replace: ''
- name: Add Tag
uses: mathieudutour/[email protected]
with:
github_token: ${{ github.token }}
custom_tag: ${{steps.get-version.outputs.value}}
tag_prefix: ''