repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Create devskim.yml

864f54ab390dfcb194cf650ad2621eae8df9d295

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

.github/workflows/devskim.yml

Added
new file mode 100644
1 +# This workflow uses actions that are not certified by GitHub.
2 +# They are provided by a third-party and are governed by
3 +# separate terms of service, privacy policy, and support
4 +# documentation.
6 +name: DevSkim
8 +on:
9 + push:
10 + branches: [ "trunk" ]
11 + pull_request:
12 + branches: [ "trunk" ]
13 + schedule:
14 + - cron: '28 3 * * 0'
16 +jobs:
17 + lint:
18 + name: DevSkim
19 + runs-on: ubuntu-20.04
20 + permissions:
21 + actions: read
22 + contents: read
23 + security-events: write
24 + steps:
25 + - name: Checkout code
26 + uses: actions/checkout@v3
28 + - name: Run DevSkim scanner
29 + uses: microsoft/DevSkim-Action@v1
31 + - name: Upload DevSkim scan results to GitHub Security tab
32 + uses: github/codeql-action/upload-sarif@v2
33 + with:
34 + sarif_file: devskim-results.sarif