From 4b4bfc4bc8c61bd90014fceaa9b89fe06b3c74cb Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Mon, 2 Sep 2024 16:21:54 +0100 Subject: [PATCH] Use `github.rest.git` instead of `github.git` --- .github/workflows/create-tag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create-tag.yml b/.github/workflows/create-tag.yml index 3df4e88ab..ac4958607 100644 --- a/.github/workflows/create-tag.yml +++ b/.github/workflows/create-tag.yml @@ -41,7 +41,7 @@ jobs: script: | const ref = `refs/tags/${{ steps.next-version.outputs.next-version }}`; const sha = context.sha; - await github.git.createRef({ + await github.rest.git.createRef({ owner: context.repo.owner, repo: context.repo.repo, ref: ref,