Use github.rest.git instead of github.git
This commit is contained in:
parent
03fbc709a0
commit
4b4bfc4bc8
1 changed files with 1 additions and 1 deletions
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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue