diff --git a/.github/workflows/comment-issue.yml b/.github/workflows/comment-issue.yml index 4bf1bc2f4fc..045b377a2f0 100644 --- a/.github/workflows/comment-issue.yml +++ b/.github/workflows/comment-issue.yml @@ -13,7 +13,7 @@ jobs: issues: write steps: - name: Add Comment For User Interest - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: script: | github.rest.issues.createComment({ @@ -49,7 +49,7 @@ jobs: }) - name: React to Issue - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: script: | github.rest.reactions.createForIssue({ diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 604befa794e..816f4a0c337 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -53,7 +53,7 @@ jobs: run: pnpm exec tsc .github/workflows/commentCodeGeneration.ts --outDir .github/workflows - name: Comment - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: script: | const script = require('${{ github.workspace }}/.github/workflows/commentCodeGeneration.js')