mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
cf7d37ad13
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
20 lines
571 B
YAML
20 lines
571 B
YAML
name: "Request reviews"
|
|
on:
|
|
pull_request_target:
|
|
types: [labeled, ready_for_review, reopened]
|
|
workflow_call:
|
|
jobs:
|
|
request-reviewer:
|
|
if: github.event.pull_request.state == 'open' && github.event.pull_request.draft == false
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: 'Request reviewers'
|
|
uses: actions/github-script@v6
|
|
with:
|
|
script: |
|
|
const script = require('./.github/scripts/reviews.js')
|
|
await script({github, context})
|