Skip to content

Commit 49cd281

Browse files
author
huangshuwei
committed
add verify-files-modify action
1 parent 8381ad0 commit 49cd281

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Verify Files modify
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, edited, reopened, synchronize, ready_for_review]
6+
7+
jobs:
8+
verify:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: verify-version
12+
uses: actions-cool/[email protected]
13+
with:
14+
forbid-paths: '.github/, scripts/'
15+
skip-verify-authority: 'write'
16+
assignees: 'huangshuwei'
17+
comment: |
18+
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.
19+
close: true

0 commit comments

Comments
 (0)