[Test] Tinamor/fix ci build badge #88
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################### | |
# # | |
# Copyright (c) Microsoft Corporation. All rights reserved. # | |
# # | |
# This code is licensed under the MIT License (MIT). # | |
# # | |
########################################################################### | |
name: SDL Compliance | |
on: | |
push: | |
branches: ["main", "releases/**"] | |
pull_request: | |
branches: ["main", "releases/**"] | |
jobs: | |
devskim: | |
name: DevSkim | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run DevSkim scanner | |
uses: microsoft/DevSkim-Action@v1 | |
with: | |
# Relative path in $GITHUB_WORKSPACE for DevSkim to Scan | |
directory-to-scan: containers-toolkit/ | |
ignore-globs: "en-US/**" | |
- name: Upload DevSkim scan results to GitHub Security tab | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: devskim-results.sarif |