diff --git a/.github/workflows/deps-release-tag.yaml b/.github/workflows/deps-release-tag.yaml index b0b665ba..918dc97d 100644 --- a/.github/workflows/deps-release-tag.yaml +++ b/.github/workflows/deps-release-tag.yaml @@ -6,6 +6,7 @@ on: - main permissions: + actions: write contents: write jobs: @@ -55,3 +56,9 @@ jobs: git tag "${{ steps.tag.outputs.new-ref-name }}" git push origin "${{ steps.tag.outputs.new-ref-name }}" fi + + - if: ${{ fromJSON(steps.tag.outputs.create) }} + name: Trigger Release + run: gh workflow run release.yaml --ref "${{ steps.tag.outputs.new-ref-name }}" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 439b2027..63e5d7f9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,5 +1,6 @@ name: Release on: + workflow_dispatch: push: tags: - v[0-9]+.[0-9]+.[0-9]+