diff --git a/.github/workflows/tags.yaml b/.github/workflows/tags.yaml index 9f08f15c..5cc32c42 100644 --- a/.github/workflows/tags.yaml +++ b/.github/workflows/tags.yaml @@ -195,7 +195,7 @@ jobs: }); console.log(`Branch '${branch}' already exists`); } catch (_) { - await github.git.createRef({ + await github.rest.git.createRef({ owner: context.repo.owner, repo: context.repo.repo, ref: `refs/heads/${branch}`,