Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/bin3xish477/ghast into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bin3xish477 committed Aug 7, 2023
2 parents 5b8e0bd + 00cce40 commit f598f72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@ The actions directory has some example GitHub Actions with vulnerable steps that

> Make sure you have `$HOME/.local/bin` in your PATH
#### Using Pip

```
pip install ghast-scanner
```

#### With Git/Python

```
git clone https://github.com/bin3xish477/ghast.git
python3 -m pip install .
```

Expand Down
4 changes: 2 additions & 2 deletions analyzer/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,11 @@ def __print_msg(job: str, step: dict):
# ======================== Auxiliary Checks ========================
# ==================================================================

def _check_for_codeowners_file(self) -> bool:
def _check_for_codeowners_file(self) -> None:
if not Path(".github/workflows/CODEOWNERS").exists():
print(
f"{Colors.LIGHT_BLUE}AUXI{Colors.END} missing CODEOWNERS file"
"which can provide additional protections for your workflow files"
" which can provide additional protections for your workflow files"
)
else:
if self.verbose:
Expand Down

0 comments on commit f598f72

Please sign in to comment.