1
0
Fork 0
mirror of synced 2024-10-18 01:48:56 -04:00
ultimate-vim/sources_non_forked/copilot.vim/.github/workflows/auto-close-pr.yml
2024-10-06 10:25:50 +02:00

20 lines
618 B
YAML

name: Auto-close PR
on:
pull_request_target:
types: [opened, reopened]
jobs:
close:
name: Run
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- run: |
gh pr close ${{ github.event.pull_request.number }} --comment \
"At the moment we are not accepting contributions to the repository.
Feedback for Copilot.vim can be given in the [Copilot community discussions](https://github.com/orgs/community/discussions/categories/copilot)."
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}