diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index ce2fa26fb..916eb5f28 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -63,7 +63,7 @@ jobs: - name: Check if already commented if: steps.changes.outcome == 'failure' && steps.push.outcome == 'failure' id: check_comment - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { data: comments } = await github.rest.issues.listComments({ @@ -81,7 +81,7 @@ jobs: - name: Comment with instructions if cannot push if: steps.changes.outcome == 'failure' && steps.push.outcome == 'failure' && steps.check_comment.outputs.already_commented == 'false' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | await github.rest.issues.createComment({