Use github.rest.git instead of github.git

This commit is contained in:
Nick Bolton
2024-09-02 16:21:54 +01:00
parent 03fbc709a0
commit 4b4bfc4bc8

View File

@ -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,