Skip to content

Update validation workflows to use Action #294

Update validation workflows to use Action

Update validation workflows to use Action #294

Workflow file for this run

name: Results Validation
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- uses: actions/checkout@v4
- name: Get Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@8e1ba3bf1619726336414f1014e37f17fbadf1db #v2.1.0
with:
application_id: ${{ secrets.ADVANCED_SECURITY_APP_ID }}
application_private_key: ${{ secrets.ADVANCED_SECURITY_APP_KEY }}
- name: Validate results against snapshot
uses: advanced-security/secret-scanning-tools@fix-action
with:
mode: validate
token: ${{ steps.get_workflow_token.outputs.token }}