2021-02-19 15:15:29 +08:00
name : Verify Files modify
on :
pull_request_target :
2022-01-12 23:55:01 +08:00
types : [ opened, synchronize]
2021-02-19 15:15:29 +08:00
2022-04-11 11:15:26 +08:00
permissions :
contents : read
2021-02-19 15:15:29 +08:00
jobs :
verify :
2022-04-11 11:15:26 +08:00
permissions :
pull-requests : write # for actions-cool/verify-files-modify to update status of PRs
2021-02-19 15:15:29 +08:00
runs-on : ubuntu-latest
steps :
- name : verify-version
2021-10-19 19:55:20 +08:00
uses : actions-cool/verify-files-modify@v1
2021-02-19 15:15:29 +08:00
with :
forbid-paths : '.github/, scripts/'
2021-06-18 19:30:22 +08:00
forbid-files : 'CHANGELOG.zh-CN.md, CHANGELOG.en-US.md, LICENSE'
2024-09-19 03:30:19 +08:00
skip-verify-authority : write
skip-label : skip-verify-files
2022-02-16 16:28:05 +08:00
assignees : 'afc163, zombieJ, xrkffgg, MadCcc'
2024-09-19 03:30:19 +08:00
comment-mark : version
2021-02-19 15:15:29 +08:00
comment : |
2022-04-29 16:49:37 +08:00
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.
2021-02-19 15:15:29 +08:00
close : true
2022-02-14 15:15:42 +08:00
set-failed : false
2023-10-08 10:08:05 +08:00
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 :
2024-09-19 03:30:19 +08:00
forbid-files : README.md
skip-verify-authority : write
skip-label : skip-verify-files
2023-10-08 10:08:05 +08:00
assignees : 'afc163, zombieJ, xrkffgg, MadCcc'
2024-09-19 03:30:19 +08:00
comment-mark : readmeCheck
2023-10-08 10:08:05 +08:00
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