Skip to content

Update codecov/codecov-action action to v5 #88

Update codecov/codecov-action action to v5

Update codecov/codecov-action action to v5 #88

Workflow file for this run

name: Tag Release
on:
pull_request:
types:
- closed
branches:
- 'main'
jobs:
tag_release:
if: ${{ github.event.pull_request.merged == true && startsWith( github.head_ref, 'version-' ) }}
runs-on: ubuntu-latest
steps:
- name: 🧮 Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Get Version
uses: mad9000/actions-find-and-replace-string@5
id: get-version
with:
source: ${{ github.head_ref }}
find: 'version-'
replace: ''
- name: Add Tag
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.PAT }}
custom_tag: ${{steps.get-version.outputs.value}}
tag_prefix: ''