Merge pull request #17445 from dundargoc/ci/review/use-checkout

This commit is contained in:
James McCoy 2022-02-18 08:36:45 -05:00 committed by GitHub
commit 720bb5844d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -38,10 +38,10 @@ jobs:
permissions: permissions:
pull-requests: write pull-requests: write
steps: steps:
- run: wget https://raw.githubusercontent.com/neovim/neovim/master/.github/scripts/reviews.js - uses: actions/checkout@v2
- name: 'Request reviewers' - name: 'Request reviewers'
uses: actions/github-script@v6 uses: actions/github-script@v6
with: with:
script: | script: |
const script = require('./reviews.js') const script = require('./.github/scripts/reviews.js')
await script({github, context}) await script({github, context})

View File

@ -9,10 +9,10 @@ jobs:
permissions: permissions:
pull-requests: write pull-requests: write
steps: steps:
- run: wget https://raw.githubusercontent.com/neovim/neovim/master/.github/scripts/reviews.js - uses: actions/checkout@v2
- name: 'Request reviewers' - name: 'Request reviewers'
uses: actions/github-script@v6 uses: actions/github-script@v6
with: with:
script: | script: |
const script = require('./reviews.js') const script = require('./.github/scripts/reviews.js')
await script({github, context}) await script({github, context})