Skip to content

Commit

Permalink
Fix: [AEA-0000] - pin ubuntu in github runner (#759)
Browse files Browse the repository at this point in the history
## Summary

- Routine Change

### Details

- pin version of ubuntu used by github runner
  • Loading branch information
anthony-nhs authored Jan 10, 2025
1 parent 49fce82 commit d47f326
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

get_commit_id:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
commit_id: ${{ steps.commit_id.outputs.commit_id }}
steps:
Expand All @@ -25,7 +25,7 @@ jobs:
tag_release:
needs: quality_checks
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
version_tag: ${{ steps.output_version_tag.outputs.VERSION_TAG }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/combine-dependabot-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# This workflow contains a single job called "combine-prs"
combine-prs:
# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/delete_old_cloudformation_stacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# This workflow contains a single job called "combine-prs"
delete-old-cloudformation-stacks:
# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

delete-old-proxygen-deployments:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot_auto_approve_and_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:

jobs:
dependabot:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Get token from Github App
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [opened]
jobs:
link-ticket:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
REF: ${{ github.event.pull_request.head.ref }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_title_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
pr_title_format_check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check PR Title is Prefixed with Change Type
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: ./.github/workflows/pr_title_check.yml

get_issue_number:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: quality_checks
outputs:
issue_number: ${{steps.get_issue_number.outputs.result}}
Expand All @@ -44,7 +44,7 @@ jobs:
result-encoding: string

get_commit_id:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
commit_id: ${{ steps.commit_id.outputs.commit_id }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

get_commit_id:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
commit_id: ${{ steps.commit_id.outputs.commit_id }}
steps:
Expand All @@ -24,7 +24,7 @@ jobs:
tag_release:
needs: quality_checks
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
version_tag: ${{ steps.output_version_tag.outputs.VERSION_TAG }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_package_code_and_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
package_code_and_api:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_release_code_and_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ on:

jobs:
release_code_and_api:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment: ${{ inputs.TARGET_ENVIRONMENT }}
permissions:
id-token: write
Expand Down

0 comments on commit d47f326

Please sign in to comment.