ci: update files modify check (#31037)

* ci: update files modify check

* Update verify-files-modify.yml

* Update verify-files-modify.yml
This commit is contained in:
xrkffgg 2021-06-18 11:29:01 +08:00 committed by GitHub
parent efd69d4e1f
commit 36b5bd6265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,18 +2,19 @@ name: Verify Files modify
on:
pull_request_target:
types: [opened, edited, reopened, synchronize, ready_for_review]
types: [opened, edited, synchronize, ready_for_review]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: verify-version
uses: actions-cool/verify-files-modify@v1.1.1
uses: actions-cool/verify-files-modify@v1.2.2
with:
forbid-paths: '.github/, scripts/'
forbid-files: 'CHANGELOG.zh-CN.md, CHANGELOG.en-US.md, package.json, LICENSE'
skip-verify-authority: 'write'
assignees: 'afc163, zombieJ, yesmeck, shaodahong, xrkffgg'
assignees: 'afc163, zombieJ, xrkffgg'
comment: |
Hi @${{ github.event.pull_request.user.login }}. Thanks for your contribution. The path `.github/` or `scripts/` is only maintained by team members. This current PR will be closed and team members will help on this.
Hi @${{ github.event.pull_request.user.login }}. Thanks for your contribution. The path `.github/` or `scripts/` and `CHANGELOG` `package.json` is only maintained by team members. This current PR will be closed and team members will help on this.
close: true