-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from instriq/develop
Develop
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: sentra | ||
description: The first autonomous source code posture risk score tool | ||
author: LESIS | ||
branding: | ||
icon: "shield" | ||
color: "blue" | ||
|
||
inputs: | ||
dependency: | ||
description: 'Check if repositories has dependabot.yml file' | ||
required: false | ||
default: true | ||
maintained: | ||
description: 'Get alerts about repositories with a last commit date greater than 90 days old' | ||
required: false | ||
default: true | ||
metrics: | ||
description: 'Extract some metrics based on GHAS' | ||
required: false | ||
default: true | ||
token: | ||
description: 'Token to access the GitHub API' | ||
required: true | ||
default: ${{ secrets.TOKEN }} | ||
org: | ||
description: 'Github organization to interact with' | ||
required: true | ||
default: ${{ github.repository_owner }} | ||
|
||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- shell: bash | ||
env: | ||
org: ${{ inputs.dependency }} | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} | ||
|
||
run: | | ||
docker run ghcr.io/instriq/sentra/sentra:latest \ | ||
--org ${{ inputs.org }} \ | ||
--token ${{ inputs.token }} \ |