Skip to content

Commit e395d0a

Browse files
authored
Merge pull request #45 from primer/fix_api_call_github_rest
Fix api call GitHub rest
2 parents e12ff5d + 1a0ab78 commit e395d0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release_canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
with:
7272
script: |
7373
const package = require(`${process.env.GITHUB_WORKSPACE}/package.json`)
74-
github.repos.createCommitStatus({
74+
github.rest.repos.createCommitStatus({
7575
owner: context.repo.owner,
7676
repo: context.repo.repo,
7777
sha: context.sha,

.github/workflows/release_candidate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
with:
7575
script: |
7676
const package = require(`${process.env.GITHUB_WORKSPACE}/package.json`)
77-
github.repos.createCommitStatus({
77+
github.rest.repos.createCommitStatus({
7878
owner: context.repo.owner,
7979
repo: context.repo.repo,
8080
sha: context.sha,

0 commit comments

Comments
 (0)