Skip to content

Commit 075ef0f

Browse files
committed
Update devskim.yml
migrate from deprecated ubuntu runner to just use latest
1 parent fb075cc commit 075ef0f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/devskim.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
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.
1+
# Run a Microsoft DevSkim code security scan on the codebase
2+
# upload the results to the GitHub Security tab
3+
# https://github.com/microsoft/DevSkim
54

65
name: DevSkim
76

@@ -16,7 +15,7 @@ on:
1615
jobs:
1716
lint:
1817
name: DevSkim
19-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-latest
2019
permissions:
2120
actions: read
2221
contents: read
@@ -25,10 +24,10 @@ jobs:
2524
- name: Checkout code
2625
uses: actions/checkout@v4
2726

28-
- name: Run DevSkim scanner
27+
- name: Run Msft DevSkim scanner
2928
uses: microsoft/DevSkim-Action@v1
3029

31-
- name: Upload DevSkim scan results to GitHub Security tab
30+
- name: Upload DevSkim scan results sarif to GitHub Security tab
3231
uses: github/codeql-action/upload-sarif@v3
3332
with:
3433
sarif_file: devskim-results.sarif

0 commit comments

Comments
 (0)