Skip to content

Commit

Permalink
Merge pull request #13 from instriq/develop
Browse files Browse the repository at this point in the history
add badges to README and remove push trigger
  • Loading branch information
htrgouvea authored Dec 16, 2024
2 parents c483b17 + 9311723 commit fc9759a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/security-gate.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Security Gate - LESIS

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<a href="https://github.com/instriq/security-gate/releases">
<img src="https://img.shields.io/badge/version-0.1.0-blue.svg">
</a>
<img src="https://github.com/instriq/security-gate/actions/workflows/linter.yml/badge.svg">
<img src="https://github.com/instriq/security-gate/actions/workflows/zarn.yml/badge.svg">
<img src="https://github.com/instriq/security-gate/actions/workflows/security-gate.yml/badge.svg">
</p>
</p>

Expand Down
22 changes: 11 additions & 11 deletions lib/SecurityGate/Utils/Helper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ package SecurityGate::Utils::Helper {
Security Gate v0.0.3
Core Commands
==============
Command Description
------- -----------
-t, --token GitHub token
-r, --repo GitHub repository
-c, --critical Critical severity limit
-h, --high High severity limit
-m, --medium Medium severity limit
-l, --low Low severity limit
--dependency-alerts Check for dependency alerts
--secret-scanning-alerts Check for secret scanning alerts
--code-scanning-alerts Check for code scanning alerts
Command Description
------- -----------
-t, --token GitHub token
-r, --repo GitHub repository
-c, --critical Critical severity limit
-h, --high High severity limit
-m, --medium Medium severity limit
-l, --low Low severity limit
--dependency-alerts Check for dependency alerts
--secret-alerts Check for secret scanning alerts
--code-alerts Check for code scanning alerts
EOT
}
Expand Down
4 changes: 2 additions & 2 deletions tests/helper-output.t
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ subtest 'Helper output' => sub {
like($helper_output, qr/-t,\ --token/x, 'Helper output contains token option');
like($helper_output, qr/-r,\ --repo/x, 'Helper output contains repo option');
like($helper_output, qr/--dependency-alerts/x, 'Helper output contains dependency alerts option');
like($helper_output, qr/--secret-scanning-alerts/x, 'Helper output contains secret scanning alerts option');
like($helper_output, qr/--code-scanning-alerts/x, 'Helper output contains code scanning alerts option');
like($helper_output, qr/--secret-alerts/x, 'Helper output contains secret scanning alerts option');
like($helper_output, qr/--code-alerts/x, 'Helper output contains code scanning alerts option');
};

done_testing();

0 comments on commit fc9759a

Please sign in to comment.