Skip to content

Update test.yml

Update test.yml #6

Workflow file for this run

name: Sec Badges
on: [pull_request, push]
jobs:
myjob:
runs-on: ubuntu-latest
steps:
- name: Check Dependabot Alerts
id: alerts
uses: spicyparrot/[email protected]
with:
github_personal_token: ${{ secrets.DEPEND_SECRET }}
add-badge:
needs: myjob
runs-on: ubuntu-latest
steps:
- name: Create the Badge
uses: schneegans/[email protected]
with:
auth: ${{ secrets.DEPEND_SECRET }}
gistID: 27228b9af08e477a7edff3e34f829454
filename: answer.json
label: The Answer
message: steps.alerts.outputs.total_alerts
valColorRange: steps.alerts.outputs.total_alerts
maxColorRange: 100
minColorRange: 0