Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 5 to 6 - [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/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
25 lines
596 B
YAML
25 lines
596 B
YAML
name: Remove Reviewers
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [converted_to_draft, closed]
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
remove-reviewers:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout script
|
|
uses: actions/checkout@v6
|
|
with:
|
|
sparse-checkout: .github/scripts/reviewers_remove.js
|
|
sparse-checkout-cone-mode: false
|
|
|
|
- name: Run script
|
|
uses: actions/github-script@v8
|
|
with:
|
|
script: |
|
|
const script = require('./.github/scripts/reviewers_remove.js')
|
|
await script({github, context})
|