Skip to content

Move renovate.json file to .github subfolder, and use Json5 format. Also add labels to generated PR. #3

Move renovate.json file to .github subfolder, and use Json5 format. Also add labels to generated PR.

Move renovate.json file to .github subfolder, and use Json5 format. Also add labels to generated PR. #3

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/[email protected]
with:
github_token: ${{ secrets.PAT }}
custom_tag: ${{steps.get-version.outputs.value}}
tag_prefix: ''