Use github.rest.git instead of github.git
This commit is contained in:
2
.github/workflows/create-tag.yml
vendored
2
.github/workflows/create-tag.yml
vendored
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user