Skip to content

chore: Adds CLAUDE.md and AGENTS.md #179

chore: Adds CLAUDE.md and AGENTS.md

chore: Adds CLAUDE.md and AGENTS.md #179

Workflow file for this run

name: Snyk
on:
merge_group:
pull_request:
types:
- opened
- synchronize
push:
branches:
- master
schedule:
- cron: "30 0 1,15 * *"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
check:
name: Check for Vulnerabilities
runs-on: ubuntu-latest
steps:
- if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artificially flag as successful, as this is a required check for branch protection.
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }}
- name: Setup .NET
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0
with:
dotnet-version: "10.0.x"
- name: Restore dependencies
run: dotnet restore Auth0.AspNetCore.Authentication.Api.sln
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/dotnet@b98d498629f1c368650224d6d212bf7dfa89e4bf # pin@0.4.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --file=Auth0.AspNetCore.Authentication.Api.sln --severity-threshold=medium