Update postback PR (#5086)
authorJay Cho <chojoong@gmail.com>
Thu, 16 Mar 2023 06:32:02 +0000 (15:32 +0900)
committerGitHub <noreply@github.com>
Thu, 16 Mar 2023 06:32:02 +0000 (15:32 +0900)
* Update postback pr

* update nightly release

.github/workflows/nightly-release.yml
.github/workflows/postback-pull-request.yml

index eb3c7cc..916cbbc 100644 (file)
@@ -31,7 +31,7 @@ jobs:
         echo "targets=${TARGETS}" >> $GITHUB_OUTPUT
 
     - name: Trigger Release
-      uses: actions/github-script@v4
+      uses: actions/github-script@v6
       env:
         TARGETS: ${{ steps.find-targets.outputs.targets }}
         WORKFLOW_NAME: 'Deploy Packages'
index f9f952e..0841b00 100644 (file)
@@ -50,7 +50,7 @@ jobs:
           const fs = require('fs');
           const json = fs.readFileSync('Artifacts/errors.json', 'utf8');
           const errors = JSON.parse(json).join('\n');
-          github.issues.createComment({
+          github.rest.issues.createComment({
             issue_number: process.env.PR_NUMBER,
             owner: context.repo.owner,
             repo: context.repo.repo,