From 0c84cbc4e8e70b73c4f44cce32b434c19c91a7bb Mon Sep 17 00:00:00 2001 From: josekudiyirippil Date: Wed, 7 Aug 2024 14:27:20 -0700 Subject: [PATCH] correcting --- .github/workflows/pull-request-deploy.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pull-request-deploy.yaml b/.github/workflows/pull-request-deploy.yaml index 0b01ad19a..c635a935a 100644 --- a/.github/workflows/pull-request-deploy.yaml +++ b/.github/workflows/pull-request-deploy.yaml @@ -285,16 +285,16 @@ jobs: --global-var 'userid=${{ vars.POSTMAN_USERID }}' \ --global-var 'userid_nonqtxn=${{ vars.POSTMAN_USERID_NONQTXN }}' - - name: Set Status to Success - uses: actions/github-script@v6 - with: - script: | - const { context, github } = require('@actions/github'); - const owner = context.repo.owner; - const repo = context.repo.repo; - const ref = context.payload.pull_request.head.sha; - - await github.repos.createCommitStatus({ + - name: Set Status to Success + uses: actions/github-script@v6 + with: + script: | + const { context, github } = require('@actions/github'); + const owner = context.repo.owner; + const repo = context.repo.repo; + const ref = context.payload.pull_request.head.sha; + + await github.repos.createCommitStatus({ owner, repo, sha: ref,