ci: add README check (#44366)

Signed-off-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
xrkffgg 2023-10-08 10:08:05 +08:00 committed by GitHub
parent b57dc7a4cc
commit 5b37a97fdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,3 +26,21 @@ jobs:
Hi @${{ github.event.pull_request.user.login }}. Thanks for your contribution. The path `.github/` or `scripts/` and `CHANGELOG` is only maintained by team members. This current PR will be closed and team members will help on this.
close: true
set-failed: false
readme:
permissions:
pull-requests: write # for actions-cool/verify-files-modify to update status of PRs
runs-on: ubuntu-latest
steps:
- name: verify-version
uses: actions-cool/verify-files-modify@v1
with:
forbid-files: 'README.md'
skip-verify-authority: 'write'
skip-label: 'skip-verify-files'
assignees: 'afc163, zombieJ, xrkffgg, MadCcc'
comment-mark: 'readmeCheck'
comment: |
Hi @${{ github.event.pull_request.user.login }}. Thanks for your contribution. But, we don't have plan to add README of more languages. This current PR will be closed and team members will help on this.
close: true
set-failed: false