Skip to content

Commit cb99b57

Browse files
[StepSecurity] ci: Harden GitHub Actions (#801)
Signed-off-by: StepSecurity Bot <[email protected]>
1 parent af71b08 commit cb99b57

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/UpdateWinget.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@ on:
77
release:
88
types: [published]
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
build:
1215
runs-on: windows-latest
1316

1417
steps:
18+
- name: Harden Runner
19+
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
20+
with:
21+
egress-policy: audit
22+
1523
- name: '📫🚀 Publish Latest MFCMAPI Release to Winget'
1624
run: |
1725
$wingetPackage = "Microsoft.MFCMAPI"

0 commit comments

Comments
 (0)