Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codelytv/check-critical-files
👁 Check for critical files in your commits
https://github.com/codelytv/check-critical-files
action alerting code-review github github-action github-actions pull-requests secret-management secrets secrets-management utilities
Last synced: 3 months ago
JSON representation
👁 Check for critical files in your commits
- Host: GitHub
- URL: https://github.com/codelytv/check-critical-files
- Owner: CodelyTV
- License: mit
- Created: 2020-03-10T10:00:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-02T11:07:34.000Z (almost 5 years ago)
- Last Synced: 2024-05-01T09:38:39.707Z (9 months ago)
- Topics: action, alerting, code-review, github, github-action, github-actions, pull-requests, secret-management, secrets, secrets-management, utilities
- Language: Shell
- Size: 3.91 KB
- Stars: 20
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
👁 Check critical files
Warns you when critical files are modified## 🚀 Usage
Create a file named `checker.yml` inside the `.github/workflows` directory and paste:
```yml
name: Check critical fileson: [pull_request]
jobs:
check-critical-files:
runs-on: ubuntu-latest
name: Check for critical files
steps:
- uses: codelytv/check-critical-files@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
critical_message: Take a look, you've commited some critical file
critical_files: |
.env
action.yml
```> `critical_message` accepts `html` format.
## ⚖️ License
[MIT](LICENSE)