8000 GitHub - CodelyTV/check-critical-files: ๐Ÿ‘ Check for critical files in your commits
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CodelyTV/check-critical-files

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‘ Check critical files

codely.tv CodelyTV Courses GitHub Action version

Warns you when critical files are modified

๐Ÿš€ Usage

Create a file named checker.yml inside the .github/workflows directory and paste:

name: Check critical files

on: [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 <b>critical file</b>
          critical_files: |
            .env
            action.yml

critical_message accepts html format.

โš–๏ธ License

MIT

0