From 3b07ba96d4d236ce92628701301c80f152d25e37 Mon Sep 17 00:00:00 2001 From: Casey Buto Date: Thu, 21 Sep 2023 10:52:05 -0400 Subject: [PATCH] ci: trigger release workflow after creating dev tag (#1610) * ci: trigger release workflow after creating dev tag * ci: drop git config * ci: set git user --- .github/workflows/create-dev-tag.yml | 10 +++++++--- .github/workflows/release.yml | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-dev-tag.yml b/.github/workflows/create-dev-tag.yml index a3d91204f..3003e1adb 100644 --- a/.github/workflows/create-dev-tag.yml +++ b/.github/workflows/create-dev-tag.yml @@ -12,6 +12,7 @@ env: permissions: contents: write + actions: write jobs: create-dev-tag: @@ -34,9 +35,6 @@ jobs: ref: ${{ matrix.branch }} depth: 0 - - name: Configure git for private repo access - run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/ - - name: Setup asdf uses: asdf-vm/actions/setup@v2 @@ -58,3 +56,9 @@ jobs: - name: Push tag run: git push --force --tags origin ${{ env.TAG }} + + - name: Run release workflow + uses: benc-uk/workflow-dispatch@v121 + with: + workflow: release.yml + ref: ${{ env.TAG }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4123f6ed6..eca5544cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Release on: + workflow_dispatch: push: tags: - 'v*'