mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
dd81e1e334
Mostly rename file and variable names to be more consistent. This makes it easier to locate them in the "Actions" tab on github.
20 lines
576 B
YAML
20 lines
576 B
YAML
name: "reviewers: add"
|
|
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@v7
|
|
with:
|
|
script: |
|
|
const script = require('./.github/scripts/reviewers_add.js')
|
|
await script({github, context})
|