mirror of
https://github.com/neovim/neovim.git
synced 2026-01-17 10:38:57 +10:00
Merge pull request #17888 from dundargoc/ci/remove-reviewers-when-drafting
This commit is contained in:
17
.github/workflows/remove-reviewers-on-draft.yml
vendored
Normal file
17
.github/workflows/remove-reviewers-on-draft.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
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})
|
||||
Reference in New Issue
Block a user