diff --git a/.github/workflows/staging-deploy-pr-docker.yml b/.github/workflows/staging-deploy-pr-docker.yml index 69a5671944ab..dd406c9b13fc 100644 --- a/.github/workflows/staging-deploy-pr-docker.yml +++ b/.github/workflows/staging-deploy-pr-docker.yml @@ -149,8 +149,8 @@ jobs: const esm = require('esm') require = esm({}) - const { default: createApp } = require('./scripts/create-app.js') - const { default: parsePrUrl } = require('./scripts/parse-pr-url.js') + const { default: createApp } = require('./script/create-app.js') + const { default: parsePrUrl } = require('./script/parse-pr-url.js') // This helper uses the `GITHUB_TOKEN` implicitly! // We're using our usual version of Octokit vs. the provided `github` diff --git a/.github/workflows/staging-deploy-pr.yml b/.github/workflows/staging-deploy-pr.yml index 15b2c24f520a..330c8e4fb5f4 100644 --- a/.github/workflows/staging-deploy-pr.yml +++ b/.github/workflows/staging-deploy-pr.yml @@ -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 }}',