mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
ci: download reviews.js through checkout instead of wget
This makes testing the workflows much smoother.
This commit is contained in:
4
.github/workflows/labeler.yml
vendored
4
.github/workflows/labeler.yml
vendored
@@ -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})
|
||||||
|
4
.github/workflows/reviews.yml
vendored
4
.github/workflows/reviews.yml
vendored
@@ -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})
|
||||||
|
Reference in New Issue
Block a user