Browse Source

ci: update files modify check (#31037)

* ci: update files modify check

* Update verify-files-modify.yml

* Update verify-files-modify.yml
pull/31042/head
xrkffgg 3 years ago
committed by GitHub
parent
commit
36b5bd6265
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .github/workflows/verify-files-modify.yml

9
.github/workflows/verify-files-modify.yml

@ -2,18 +2,19 @@ name: Verify Files modify
on: on:
pull_request_target: pull_request_target:
types: [opened, edited, reopened, synchronize, ready_for_review] types: [opened, edited, synchronize, ready_for_review]
jobs: jobs:
verify: verify:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: verify-version - name: verify-version
uses: actions-cool/verify-files-modify@v1.1.1 uses: actions-cool/verify-files-modify@v1.2.2
with: with:
forbid-paths: '.github/, scripts/' forbid-paths: '.github/, scripts/'
forbid-files: 'CHANGELOG.zh-CN.md, CHANGELOG.en-US.md, package.json, LICENSE'
skip-verify-authority: 'write' skip-verify-authority: 'write'
assignees: 'afc163, zombieJ, yesmeck, shaodahong, xrkffgg' assignees: 'afc163, zombieJ, xrkffgg'
comment: | 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 close: true

Loading…
Cancel
Save