From 6d6ba992e53b97d389e55747c248e161c8669dc7 Mon Sep 17 00:00:00 2001 From: Michael Henderson Date: Tue, 6 Aug 2024 16:46:05 -0700 Subject: [PATCH] update tag after readme build to release pr ab#61860 --- .github/workflows/starter.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/starter.yml b/.github/workflows/starter.yml index d73a836..f440b9d 100644 --- a/.github/workflows/starter.yml +++ b/.github/workflows/starter.yml @@ -156,6 +156,19 @@ jobs: secrets: token: ${{ secrets.scan_token }} + update-tag: + needs: [call-assign-from-json-workflow, call-create-github-release-workflow,call-generate-readme-workflow] + if: github.event_name == 'pull_request' && (startsWith(github.base_ref, 'release-')) + runs-on: ubuntu-latest + name: Update the release tag + steps: + - name: Tag Repo + uses: richardsimko/update-tag@v1 + with: + tag_name: ${{ needs.call-create-github-release-workflow.outputs.release_version }} + env: + GITHUB_TOKEN: ${{ secrets.token }} + call-post-release-workflow: needs: [call-assign-from-json-workflow, call-create-github-release-workflow] if: needs.call-create-github-release-workflow.outputs.IS_FULL_RELEASE == 'True'