diff --git a/.github/workflows/build-gem-package-notify.yml b/.github/workflows/build-gem-package-notify.yml index 3c102ca..7fab117 100644 --- a/.github/workflows/build-gem-package-notify.yml +++ b/.github/workflows/build-gem-package-notify.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: 'Download artifact' - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: script: | const artifacts = await github.paginate( @@ -40,7 +40,7 @@ jobs: var fs = require('fs'); fs.writeFileSync('${{github.workspace}}/pr.zip', Buffer.from(download.data)); - run: unzip pr.zip - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 with: # This snippet is public-domain, taken from # https://github.com/oprypin/nightly.link/blob/master/.github/workflows/pr-comment.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6ab041..41d13b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: fetch-depth: 0 - name: Determine remote default branch - uses: actions/github-script@v6.3.1 + uses: actions/github-script@v6 id: remote_default_branch with: github-token: ${{secrets.GITHUB_TOKEN}}