Skip to content

Commit

Permalink
CI: Update OS images, Do not persist credentials, Checkout v4 (#4071)
Browse files Browse the repository at this point in the history
* Update OS images, Do not persist credentials, Checkout v4.

* Do not persist credentials in issue-check.
  • Loading branch information
Kichura authored Dec 27, 2024
1 parent 1f53188 commit 48f3873
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ env:

jobs:
build:
runs-on: windows-latest
runs-on: windows-2025

steps:
- name: Print inputs
Expand All @@ -50,13 +50,15 @@ jobs:
if: github.event.inputs.ref == ''
with:
submodules: recursive
persist-credentials: false

- name: Checkout specific build and submodules
uses: actions/checkout@v4
if: github.event.inputs.ref != ''
with:
ref: ${{ github.event.inputs.ref }}
submodules: recursive
persist-credentials: false

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/issue-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ 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
with:
persist-credentials: false

- name: Check for keywords in issue title and body
id: check_keywords
Expand Down

0 comments on commit 48f3873

Please sign in to comment.