Browse Source

chore: correction in action script

since `actions/github-script@v5` the rest function paths are changed - https://github.com/actions/github-script#breaking-changes-in-v5

Signed-off-by: Pranav C <pranavxc@gmail.com>
chore/release-tag-creation
Pranav C 2 years ago
parent
commit
bb9b75aa1c
  1. 2
      .github/workflows/release-draft.yml

2
.github/workflows/release-draft.yml

@ -62,7 +62,7 @@ jobs:
# need a custom PAT with workflows permission here # need a custom PAT with workflows permission here
github-token: ${{ secrets.NC_GITHUB_TOKEN }} github-token: ${{ secrets.NC_GITHUB_TOKEN }}
script: | script: |
github.git.createRef({ github.rest.git.createRef({
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
ref: "refs/tags/${{ github.event.inputs.tag || inputs.tag }}", ref: "refs/tags/${{ github.event.inputs.tag || inputs.tag }}",

Loading…
Cancel
Save