-
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (40 loc) · 1.33 KB
/
security-devops.yml
File metadata and controls
45 lines (40 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Microsoft Security DevOps
on:
push:
paths-ignore:
- "*"
- "*/**"
- "!src/**"
- "**/CHANGELOG.md"
- "CHANGELOG.md"
pull_request:
paths-ignore:
- "*"
- "*/**"
- "!src/**"
- "**/CHANGELOG.md"
- "CHANGELOG.md"
workflow_dispatch:
schedule:
- cron: "23 9 * * *" # Every day at 9:23 AM UTC
permissions:
security-events: write
concurrency:
group: msdo-${{ github.ref }}
cancel-in-progress: false
jobs:
msdo:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run Microsoft Security DevOps
uses: microsoft/security-devops-action@d0736c546281e0632667b8e0046ae3d7bba0bf67 # latest
id: msdo
- name: Upload results to Security tab
uses: github/codeql-action/upload-sarif@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
with:
sarif_file: ${{ steps.msdo.outputs.sarifFile }}