From fe117300808bc91425291827046699e7fa311e08 Mon Sep 17 00:00:00 2001 From: Kichura <68134602+Kichura@users.noreply.github.com> Date: Fri, 27 Dec 2024 22:08:44 +0100 Subject: [PATCH 1/2] Update OS images, Do not persist credentials, Checkout v4. --- .github/workflows/build.yml | 4 +++- .github/workflows/issue-check.yml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6fb708c1..d4a6f6de3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ env: jobs: build: - runs-on: windows-latest + runs-on: windows-2025 steps: - name: Print inputs @@ -50,6 +50,7 @@ jobs: if: github.event.inputs.ref == '' with: submodules: recursive + persist-credentials: false - name: Checkout specific build and submodules uses: actions/checkout@v4 @@ -57,6 +58,7 @@ jobs: with: ref: ${{ github.event.inputs.ref }} submodules: recursive + persist-credentials: false - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v2 diff --git a/.github/workflows/issue-check.yml b/.github/workflows/issue-check.yml index b04b488f8..083839e0e 100644 --- a/.github/workflows/issue-check.yml +++ b/.github/workflows/issue-check.yml @@ -6,10 +6,10 @@ on: jobs: check_keywords: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check for keywords in issue title and body id: check_keywords From 869464f197c4b905ed5f549c41ad09af6257fdfe Mon Sep 17 00:00:00 2001 From: Kichura <68134602+Kichura@users.noreply.github.com> Date: Fri, 27 Dec 2024 22:10:16 +0100 Subject: [PATCH 2/2] Do not persist credentials in issue-check. --- .github/workflows/issue-check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/issue-check.yml b/.github/workflows/issue-check.yml index 083839e0e..82c3b2778 100644 --- a/.github/workflows/issue-check.yml +++ b/.github/workflows/issue-check.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + persist-credentials: false - name: Check for keywords in issue title and body id: check_keywords