Skip to content

Commit

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

- Routine Change

### Details

- pin ubuntu used by gihub runner
  • Loading branch information
anthony-nhs authored Jan 10, 2025
1 parent a9190d4 commit ffb44e0
Showing 11 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
@@ -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:
@@ -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:
2 changes: 1 addition & 1 deletion .github/workflows/combine-dependabot-prs.yml
Original file line number Diff line number Diff line change
@@ -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:
2 changes: 1 addition & 1 deletion .github/workflows/delete_old_cloudformation_stacks.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/dependabot_auto_approve_and_merge.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/pr-link.yml
Original file line number Diff line number Diff line change
@@ -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:
2 changes: 1 addition & 1 deletion .github/workflows/pr_title_check.yml
Original file line number Diff line number Diff line change
@@ -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:
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -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}}
@@ -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:
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,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:
@@ -21,7 +21,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:
2 changes: 1 addition & 1 deletion .github/workflows/run_regression_tests.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ on:

jobs:
run_regression_tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment: ${{ inputs.ENVIRONMENT }}
permissions:
id-token: write
2 changes: 1 addition & 1 deletion .github/workflows/sam_package_code.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ on:

jobs:
sam_package_code:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
2 changes: 1 addition & 1 deletion .github/workflows/sam_release_code.yml
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ on:

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

0 comments on commit ffb44e0

Please sign in to comment.