1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Update renamed Octokit function from 'createStatus' to 'createCommitStatus' (#21310)

This commit is contained in:
James M. Greene
2021-09-03 14:14:15 -05:00
committed by GitHub
parent 1be942c989
commit 3614efff2d

View File

@@ -46,7 +46,7 @@ jobs:
script: |
const { CONTEXT_NAME, ACTIONS_RUN_LOG } = process.env
const { owner, repo } = context.repo
await github.repos.createStatus({
await github.repos.createCommitStatus({
owner,
repo,
sha: '${{ github.event.workflow_run.head_sha }}',
@@ -155,7 +155,7 @@ jobs:
script: |
const { CONTEXT_NAME, ACTIONS_RUN_LOG } = process.env
const { owner, repo } = context.repo
await github.repos.createStatus({
await github.repos.createCommitStatus({
owner,
repo,
sha: '${{ github.event.workflow_run.head_sha }}',
@@ -260,7 +260,7 @@ jobs:
runId: context.runId
})
await github.repos.createStatus({
await github.repos.createCommitStatus({
owner,
repo,
sha: '${{ github.event.workflow_run.head_sha }}',
@@ -294,7 +294,7 @@ jobs:
script: |
const { CONTEXT_NAME, ACTIONS_RUN_LOG } = process.env
const { owner, repo } = context.repo
await github.repos.createStatus({
await github.repos.createCommitStatus({
owner,
repo,
sha: '${{ github.event.workflow_run.head_sha }}',