{"id":21491624,"url":"https://github.com/actions-cool/verify-files-modify","last_synced_at":"2025-06-11T12:34:07.427Z","repository":{"id":54416702,"uuid":"340049953","full_name":"actions-cool/verify-files-modify","owner":"actions-cool","description":"⚡ Verify PR files modification by GitHub Action.","archived":false,"fork":false,"pushed_at":"2022-09-08T12:39:37.000Z","size":238,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-15T03:04:36.854Z","etag":null,"topics":["actions","files","github-actions","modify","paths","verify"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actions-cool.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-18T12:55:36.000Z","updated_at":"2023-12-29T06:27:08.000Z","dependencies_parsed_at":"2023-01-04T13:30:09.765Z","dependency_job_id":null,"html_url":"https://github.com/actions-cool/verify-files-modify","commit_stats":{"total_commits":41,"total_committers":3,"mean_commits":"13.666666666666666","dds":0.4390243902439024,"last_synced_commit":"080c71272de20d858edaca58eac6dea270cf890e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":"actions-cool/action-js-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fverify-files-modify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fverify-files-modify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fverify-files-modify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fverify-files-modify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actions-cool","download_url":"https://codeload.github.com/actions-cool/verify-files-modify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225839621,"owners_count":17532305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","files","github-actions","modify","paths","verify"],"created_at":"2024-11-23T15:17:09.499Z","updated_at":"2025-06-11T12:34:07.405Z","avatar_url":"https://github.com/actions-cool.png","language":"JavaScript","readme":"# ⚡ Verify Files Modify\n\n![](https://img.shields.io/github/workflow/status/actions-cool/verify-files-modify/CI?style=flat-square)\n[![](https://img.shields.io/badge/marketplace-verify--files--modify-blueviolet?style=flat-square)](https://github.com/marketplace/actions/verify-files-modify)\n[![](https://img.shields.io/github/v/release/actions-cool/verify-files-modify?style=flat-square\u0026color=orange)](https://github.com/actions-cool/verify-files-modify/releases)\n\nVerify PR files modification.\n\nCurrently only `pull_request` and `pull_request_target` triggering is supported.\n\n## How to use ?\n\n```yml\nname: Verify Files modify\n\non:\n  pull_request_target:\n    types: [opened, edited, reopened, synchronize, ready_for_review]\n\njobs:\n  verify:\n    runs-on: ubuntu-latest\n    steps:\n      - name: verify-version\n        uses: actions-cool/verify-files-modify@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          forbid-files: 'action.yml, LICENSE'\n          forbid-paths: '.github/, dist/'\n          assignees: 'xxx1, xxx2'\n          comment: |\n            Please don't modify this.\n          close: true\n```\n\n| Name | Desc | Type | Required |\n| -- | -- | -- | -- |\n| token | GitHub token | string | ✖ |\n| forbid-files | Forbid files. Higher than allowed. Support multiple | string | ✖ |\n| forbid-paths | Forbid paths. Higher than allowed. Support multiple | string | ✖ |\n| allowed-files | Allowed files. Support multiple | string | ✖ |\n| allowed-paths | Allowed paths. Support multiple | string | ✖ |\n| skip-verify-authority | Skip verify by creator authority. Option: `read` `write` `admin` | string | ✖ |\n| skip-verify-users | Skip verify by creator userid. Support multiple | string | ✖ |\n| skip-label | Skip label | string | ✖ |\n| skip-contribution-count | Skip verify by commit count | number | ✖ |\n| comment | Comment when verification success | string | ✖ |\n| comment-mark | Comment mark to find. | string | ✖ |\n| assignees | Assignees when verification success | string | ✖ |\n| close | Close PR when verification success | boolean | ✖ |\n| set-failed | When hit, whether set failed. Default true | boolean | ✖ |\n\n## Note\n\n- When PR come from fork, it requires `pull_request_target` to comment or close. When use pull_request_target, must [read](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target)\n- When use `pull_request` and PR come from fork. It will show CI badge status only\n- `skip-verify-users`: like 'x1, x2, x3'\n\n## ⚡ Feedback\n\nYou are very welcome to try it out and put forward your comments. You can use the following methods:\n\n- Report bugs or consult with [Issue](https://github.com/actions-cool/verify-files-modify/issues)\n- Submit [Pull Request](https://github.com/actions-cool/verify-files-modify/pulls) to improve the code of `verify-files-modify`\n\n也欢迎加入 钉钉交流群\n\n![](https://github.com/actions-cool/resources/blob/main/dingding.jpeg?raw=true)\n\n## Changelog\n\n[CHANGELOG](./CHANGELOG.md)\n\n## LICENSE\n\n[MIT](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-cool%2Fverify-files-modify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factions-cool%2Fverify-files-modify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-cool%2Fverify-files-modify/lists"}