repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk

c5f9ef36544a6025e02e029143a66b78f54f4bdd

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

.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

.github/workflows/semgrep.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 +# This workflow file requires a free account on Semgrep.dev to
7 +# manage rules, file ignores, notifications, and more.
8 +#
9 +# See https://semgrep.dev/docs
11 +name: Semgrep
13 +on:
14 + push:
15 + branches: [ "trunk" ]
16 + pull_request:
17 + # The branches below must be a subset of the branches above
18 + branches: [ "trunk" ]
19 + schedule:
20 + - cron: '23 9 * * 0'
22 +permissions:
23 + contents: read
25 +jobs:
26 + semgrep:
27 + permissions:
28 + contents: read # for actions/checkout to fetch code
29 + security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
30 + actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
31 + name: Scan
32 + runs-on: ubuntu-latest
33 + steps:
34 + # Checkout project source
35 + - uses: actions/checkout@v3
37 + # Scan code using project's configuration on https://semgrep.dev/manage
38 + - uses: returntocorp/semgrep-action@fcd5ab7459e8d91cb1777481980d1b18b4fc6735
39 + with:
40 + publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
41 + publishDeployment: ${{ secrets.SEMGREP_DEPLOYMENT_ID }}
42 + generateSarif: "1"
44 + # Upload SARIF file generated in previous step
45 + - name: Upload SARIF file
46 + uses: github/codeql-action/upload-sarif@v2
47 + with:
48 + sarif_file: semgrep.sarif
49 + if: always()