Skip to content

Bump actions/checkout from 4.2.0 to 4.2.1 (#511) #205

Bump actions/checkout from 4.2.0 to 4.2.1 (#511)

Bump actions/checkout from 4.2.0 to 4.2.1 (#511) #205

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Invoke DevSkim Analysis"
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
types:
- "edited"
- "opened"
- "reopened"
- "synchronize"
workflow_dispatch:
jobs:
main:
permissions:
actions: "read"
contents: "read"
security-events: "write"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v4.2.1"
with:
fetch-depth: "0"
- name: "Analyze Repository"
uses: "microsoft/DevSkim-Action@v1.0.14"
with:
should-scan-archives: "true"
ignore-globs: "**/.git/**"
- name: "Upload Analysis Result"
uses: "github/codeql-action/upload-sarif@v3.26.12"
with:
sarif_file: "devskim-results.sarif"