Browse Source

Do not persist credentials.

Prevents workflow from getting exposed to greater risks than imagined, This was caught by the "zizmor" rust library.
pull/3988/head
Kichura 12 months ago committed by Kichura
parent
commit
c3a9b18154
  1. 2
      .github/workflows/build.yml

2
.github/workflows/build.yml

@ -50,6 +50,7 @@ jobs:
if: github.event.inputs.ref == '' if: github.event.inputs.ref == ''
with: with:
submodules: recursive submodules: recursive
persist-credentials: false
- name: Checkout specific build and submodules - name: Checkout specific build and submodules
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -57,6 +58,7 @@ jobs:
with: with:
ref: ${{ github.event.inputs.ref }} ref: ${{ github.event.inputs.ref }}
submodules: recursive submodules: recursive
persist-credentials: false
- name: Add MSBuild to PATH - name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2 uses: microsoft/setup-msbuild@v2

Loading…
Cancel
Save