Skip to content

feat: update sonarcloud action (#29) #15

feat: update sonarcloud action (#29)

feat: update sonarcloud action (#29) #15

name: Semantic release
on:
push:
branches:
- main
jobs:
semantic-release:
name: Semantic release
uses: ./.github/workflows/release.yml
tag:
name: Update major tag
needs: semantic-release
runs-on: ubuntu-latest
if: needs.semantic-release.outputs.new_release_published == 'true'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update Tag
uses: richardsimko/update-tag@v1
with:
tag_name: v${{ needs.semantic-release.outputs.new_release_major_version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}