Skip to content

chore(deps): bump the github-actions group with 18 updates #765

chore(deps): bump the github-actions group with 18 updates

chore(deps): bump the github-actions group with 18 updates #765

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: DevSkim
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "37 1 * * 2"
concurrency:
group: devskim-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read
jobs:
lint:
name: DevSkim
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@4b5047945a44163b94642a1cecc0d93a3f428cc6 # v1.0.16
with:
directory-to-scan: .
should-scan-archives: false
output-filename: devskim-results.sarif
output-directory: .
ignore-globs: "**/.git/**,**/bin/**,**/*.fit,**/*.png,**/*.jpg,**/*.jpeg,**/*.ico,**/*.icns,**/*.svg,**/*.pdf"
- name: Debug - List files in workspace
run: |
echo "Listing all files in workspace:"
find . -type f | sort
echo "Showing first 5 lines of each file (if text):"
for f in $(find . -type f); do
echo "==== $f ===="
head -n 5 "$f" || echo "Binary or unreadable file"
done
- name: Upload DevSkim SARIF as artifact
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: devskim-results
path: devskim-results.sarif
- name: Upload DevSkim scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@fe4161a26a8629af62121b670040955b330f9af2 # v3.29.5
with:
sarif_file: devskim-results.sarif