Skip to content

Commit

Permalink
Merge pull request #16 from instriq/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
htrgouvea authored Dec 25, 2024
2 parents d5fce1a + 7bd5f44 commit 92aee25
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions action.yml
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 }} \

0 comments on commit 92aee25

Please sign in to comment.