diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ff34f30a..3e166662 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -104,7 +104,7 @@ jobs: # pull-requests: write. - name: Comment the report on the pull request if: always() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const fs = require('fs'); diff --git a/.github/workflows/dependency-security.yml b/.github/workflows/dependency-security.yml index 6bb2b948..aaef02bc 100644 --- a/.github/workflows/dependency-security.yml +++ b/.github/workflows/dependency-security.yml @@ -79,7 +79,7 @@ jobs: # instead of adding a new one on every push. - name: Comment scan result on the pull request if: always() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository - uses: actions/github-script@v7 + uses: actions/github-script@v9 with: script: | const fs = require('fs');