Skip to content

Commit

Permalink
Fix github api
Browse files Browse the repository at this point in the history
  • Loading branch information
fabergat committed Jan 23, 2025
1 parent 14ef9ea commit c6e1d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_release_link.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
const releaseId = ${github.event.inputs.release_id};
const octokit = github.getOctokit(process.env.GITHUB_TOKEN);
await octokit.rest.repos.updateRelease({
await github.rest.repos.updateRelease({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: releaseId,
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1
with:
script: |
const octokit = github.getOctokit(process.env.GITHUB_TOKEN);
await octokit.rest.repos.updateRelease({
await github.rest.repos.updateRelease({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: context.payload.release.id,
Expand Down

0 comments on commit c6e1d38

Please sign in to comment.