From 535bb07359faceecd69f213407421e51af78f4f7 Mon Sep 17 00:00:00 2001 From: Dave Boster Date: Fri, 24 Nov 2023 03:23:14 -0600 Subject: [PATCH] Finish v7 upgrade github-script-poc.yml --- .github/workflows/github-script-poc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-script-poc.yml b/.github/workflows/github-script-poc.yml index 4b37976..5dfcdac 100644 --- a/.github/workflows/github-script-poc.yml +++ b/.github/workflows/github-script-poc.yml @@ -53,11 +53,11 @@ jobs: run: echo "deployment_url=${{ env.environment_url }}" >> "$GITHUB_OUTPUT" - name: Create Sample Deployment Status (completed) - uses: actions/github-script@v4 + uses: actions/github-script@v7 id: github-deployment-completed with: script: | - const deploymentStatus = await github.repos.createDeploymentStatus({ + const deploymentStatus = await github.rest.repos.createDeploymentStatus({ owner: context.repo.owner, repo: context.repo.repo, deployment_id: "${{ steps.github-deployment-create.outputs.id }}",