Bump actions/github-script from 5 to 6 (#1637)

This commit is contained in:
dependabot[bot]
2022-10-10 12:52:26 +00:00
committed by GitHub
parent d38e130f47
commit 736190ae41
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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}}