diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 3fa0386..d02de11 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -5,6 +5,7 @@ on: branches: [main] permissions: contents: write + actions: write jobs: version: name: Bump version and tag @@ -101,3 +102,8 @@ jobs: fi git tag "v${new_version}" git push origin main --tags + - name: Trigger release workflow + if: steps.bump.outputs.skip != 'true' + run: gh workflow run release.yml --ref "v${{ steps.bump.outputs.version }}" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}