From 5b04bfa9ed796cb9bb64ce6959cbd46fd206f801 Mon Sep 17 00:00:00 2001 From: zSchoen Date: Sat, 30 Sep 2023 14:40:43 +0200 Subject: [PATCH] add DevSkim CI --- .github/workflows/devskim.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/devskim.yml diff --git a/.github/workflows/devskim.yml b/.github/workflows/devskim.yml new file mode 100644 index 0000000..7b65935 --- /dev/null +++ b/.github/workflows/devskim.yml @@ -0,0 +1,29 @@ +name: DevSkim + +on: + push: + branches: [ "MAIN" ] + pull_request: + branches: [ "MAIN" ] + schedule: + - cron: '17 20 * * 0' + +jobs: + lint: + name: DevSkim + runs-on: ubuntu-20.04 + permissions: + actions: read + contents: read + security-events: write + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Run DevSkim scanner + uses: microsoft/DevSkim-Action@v1 + + - name: Upload DevSkim scan results to GitHub Security tab + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: devskim-results.sarif