Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

DevSecOps-ignore

Check .ignore files from all repository within organization

masterTravisCI

Purpose

A program to scan all repository within organization, that for each repository if there is ignore files, that file should contains basic ignore entries.

Using it

Create personal access token

  1. Visit https://github.com/settings/tokens
  2. Generate new token.
  3. Tick the repo section.

Configure

Copy .env.example to .env and edit it.

Run the check

docker build -t devsecops-ignore https://github.com/oursky/devsecops-ignore.git
docker run -it --rm --env-file .env devsecops-ignore --create-issue --create-pr
Command line arguments
usage: python main.py [-h] -[v] [--create-issue] [--create-pr]
  -h              Show this help
  -v              Verbose
  --create-issue  Automatic create github issue, disable if omitted
  --create-pr     Generate autofix pull request, disable if omitted