Skip to content

ci(git): ignore files that may contain secrets #134

ci(git): ignore files that may contain secrets

ci(git): ignore files that may contain secrets #134

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: "0 0 * * 0"
workflow_dispatch:
permissions: {}
jobs:
devskim:
name: DevSkim
runs-on: ubuntu-latest
permissions:
# required to read the code
contents: read
# required to publish security findings
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@4b5047945a44163b94642a1cecc0d93a3f428cc6 # v1.0.16
with:
should-scan-archives: true
- name: Upload DevSkim scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
with:
sarif_file: devskim-results.sarif