mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
18 lines
460 B
YAML
18 lines
460 B
YAML
name: "Remove reviewers"
|
|
on:
|
|
pull_request_target:
|
|
types: [converted_to_draft, closed]
|
|
jobs:
|
|
remove-reviewers:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: 'Remove reviewers'
|
|
uses: actions/github-script@v6
|
|
with:
|
|
script: |
|
|
const script = require('./.github/scripts/remove-reviewers.js')
|
|
await script({github, context})
|