From e0be08c783c3e48ec29b2e2a99f423b67c203675 Mon Sep 17 00:00:00 2001 From: Alex Lovell-Troy Date: Sat, 23 Nov 2024 09:40:13 -0500 Subject: [PATCH] chore: Update tag_version workflow to use new GitHub REST API for creating tags --- .github/workflows/tag_version.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag_version.yaml b/.github/workflows/tag_version.yaml index 3080b12..0ba4b24 100644 --- a/.github/workflows/tag_version.yaml +++ b/.github/workflows/tag_version.yaml @@ -42,7 +42,7 @@ jobs: with: script: | const newTag = '${{ steps.calculate_version.outputs.new_tag }}'; - const ref = await github.git.createRef({ + const ref = await github.rest.git.createRef({ owner: context.repo.owner, repo: context.repo.repo, ref: `refs/tags/${newTag}`,