Skip to content

Commit

Permalink
Pin ubuntu version for all github workflows (#12621)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottSuarez authored Dec 19, 2024
1 parent 37e4abb commit 64d0948
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
runs-on: ubuntu-22.04
timeout-minutes: 360
permissions:
# required for all workflows
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reassign-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
reassign-reviewer:
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
pull-requests: write
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/request-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
request-review:
if: (github.event.action == 'created' && github.event.issue.state == 'open' && github.event.issue.draft == false && github.event.comment.user.login == github.event.issue.user.login) || (github.event.action != 'created' && github.event.pull_request.state == 'open' && github.event.pull_request.draft == false )
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
pull-requests: write
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scheduled-pr-reminders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
send-pr-reminders:
if: github.repository == 'GoogleCloudPlatform/magic-modules'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
pull-requests: write
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-tgc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
build-and-unit-test:
permissions:
statuses: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- name: Get Job URL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-tpg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
build-and-unit-test:
permissions:
statuses: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- name: Get Job URL
Expand Down

0 comments on commit 64d0948

Please sign in to comment.