From 8c1025ef0b250800d894d6febacd7cf7ef4f5817 Mon Sep 17 00:00:00 2001 From: Junya Sasaki Date: Fri, 11 Oct 2024 19:07:25 +0900 Subject: [PATCH 1/2] fix(github-runner): fix to use ubuntu-22.04 (see below) * It seems the default OS has changed from ubuntu-22.04 to ubuntu-24.04 somewhere on the beginning of Oct. 2024 * To prevent from the unexpected fixes for a while, keep using ubuntu-22.04 Signed-off-by: Junya Sasaki --- .github/workflows/actions-tagger.yaml | 2 +- .github/workflows/check-secret.yaml | 2 +- .github/workflows/github-release.yaml | 2 +- .github/workflows/make-sure-label-is-present.yaml | 2 +- .github/workflows/pre-commit-optional.yaml | 2 +- .github/workflows/pre-commit.yaml | 2 +- .github/workflows/prevent-no-label-execution.yaml | 2 +- .github/workflows/semantic-pull-request.yaml | 2 +- .github/workflows/spell-check-differential.yaml | 2 +- .github/workflows/sync-files.yaml | 2 +- .github/workflows/test-composite-actions.yaml | 10 +++++----- README.md | 2 +- check-file-existence/README.md | 2 +- clang-tidy/README.md | 2 +- colcon-build/README.md | 2 +- colcon-test/README.md | 4 ++-- create-prs-to-update-vcs-repositories/README.md | 2 +- delete-closed-pr-docs/README.md | 2 +- deploy-docs/README.md | 2 +- generate-changelog/README.md | 2 +- get-modified-packages/README.md | 4 ++-- get-self-packages/README.md | 2 +- json-schema-check/README.md | 2 +- pre-commit-autoupdate/README.md | 2 +- pre-commit/README.md | 2 +- register-autonomoustuff-repository/README.md | 2 +- remove-exec-depend/README.md | 2 +- set-cuda-path/README.md | 2 +- set-git-config/README.md | 2 +- spell-check/README.md | 2 +- sync-branches/README.md | 2 +- sync-files/README.md | 2 +- update-codeowners-from-packages/README.md | 2 +- 33 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/actions-tagger.yaml b/.github/workflows/actions-tagger.yaml index d725103c..00d2d5bc 100644 --- a/.github/workflows/actions-tagger.yaml +++ b/.github/workflows/actions-tagger.yaml @@ -8,6 +8,6 @@ on: jobs: actions-tagger: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: Actions-R-Us/actions-tagger@v2 diff --git a/.github/workflows/check-secret.yaml b/.github/workflows/check-secret.yaml index 54facf05..2e6dae4b 100644 --- a/.github/workflows/check-secret.yaml +++ b/.github/workflows/check-secret.yaml @@ -11,7 +11,7 @@ on: jobs: check-secret: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: set: ${{ steps.check-secret.outputs.set }} steps: diff --git a/.github/workflows/github-release.yaml b/.github/workflows/github-release.yaml index b426d0cb..4b1d7f47 100644 --- a/.github/workflows/github-release.yaml +++ b/.github/workflows/github-release.yaml @@ -15,7 +15,7 @@ on: jobs: github-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Set tag name id: set-tag-name diff --git a/.github/workflows/make-sure-label-is-present.yaml b/.github/workflows/make-sure-label-is-present.yaml index d7305344..9f11ac71 100644 --- a/.github/workflows/make-sure-label-is-present.yaml +++ b/.github/workflows/make-sure-label-is-present.yaml @@ -12,7 +12,7 @@ on: jobs: make-sure-label-is-present: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: result: ${{ steps.make-sure-label-is-present.outputs.result }} steps: diff --git a/.github/workflows/pre-commit-optional.yaml b/.github/workflows/pre-commit-optional.yaml index 38738196..12f536c5 100644 --- a/.github/workflows/pre-commit-optional.yaml +++ b/.github/workflows/pre-commit-optional.yaml @@ -5,7 +5,7 @@ on: jobs: pre-commit-optional: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index c724885f..4d005e84 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -6,7 +6,7 @@ on: jobs: pre-commit: if: ${{ github.event.repository.private }} # Use pre-commit.ci for public repositories - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/.github/workflows/prevent-no-label-execution.yaml b/.github/workflows/prevent-no-label-execution.yaml index 924e6ff6..2883871f 100644 --- a/.github/workflows/prevent-no-label-execution.yaml +++ b/.github/workflows/prevent-no-label-execution.yaml @@ -12,7 +12,7 @@ on: jobs: prevent-no-label-execution: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: run: ${{ steps.prevent-no-label-execution.outputs.run }} steps: diff --git a/.github/workflows/semantic-pull-request.yaml b/.github/workflows/semantic-pull-request.yaml index 9cfb7247..ba9dfe2e 100644 --- a/.github/workflows/semantic-pull-request.yaml +++ b/.github/workflows/semantic-pull-request.yaml @@ -10,7 +10,7 @@ on: jobs: semantic-pull-request: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Validate PR title uses: amannn/action-semantic-pull-request@v5 diff --git a/.github/workflows/spell-check-differential.yaml b/.github/workflows/spell-check-differential.yaml index 1fbf2ff4..f030a452 100644 --- a/.github/workflows/spell-check-differential.yaml +++ b/.github/workflows/spell-check-differential.yaml @@ -5,7 +5,7 @@ on: jobs: spell-check-differential: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/.github/workflows/sync-files.yaml b/.github/workflows/sync-files.yaml index 51e523b8..0cffbcd2 100644 --- a/.github/workflows/sync-files.yaml +++ b/.github/workflows/sync-files.yaml @@ -14,7 +14,7 @@ jobs: sync-files: needs: check-secret if: ${{ needs.check-secret.outputs.set == 'true' }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/.github/workflows/test-composite-actions.yaml b/.github/workflows/test-composite-actions.yaml index c5675893..fae22f45 100644 --- a/.github/workflows/test-composite-actions.yaml +++ b/.github/workflows/test-composite-actions.yaml @@ -8,7 +8,7 @@ on: jobs: test-register-autonomoustuff-repository: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:${{ matrix.rosdistro }} strategy: fail-fast: false @@ -34,7 +34,7 @@ jobs: rosdep resolve pacmod3_msgs test-clang-tidy-empty-target: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:${{ matrix.rosdistro }} strategy: fail-fast: false @@ -53,7 +53,7 @@ jobs: clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy test-check-file-existence: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v4 @@ -115,7 +115,7 @@ jobs: [[ "${{ steps.check-file-existence4.outputs.exists }}" == "true" ]] test-colcon-build-and-colcon-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:${{ matrix.rosdistro }} strategy: fail-fast: false @@ -139,7 +139,7 @@ jobs: target-packages: empty_target_cmake empty_target_python test-get-self-packages-and-get-modified-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ${{ matrix.container }} strategy: fail-fast: false diff --git a/README.md b/README.md index 24c042be..9b11f084 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ jobs: sync-files: needs: check-secret if: ${{ needs.check-secret.outputs.set == 'true' }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/check-file-existence/README.md b/check-file-existence/README.md index 0b17f19c..1113df8a 100644 --- a/check-file-existence/README.md +++ b/check-file-existence/README.md @@ -9,7 +9,7 @@ This action checks if the specified files exist. ```yaml jobs: check-file-existence: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check file existence id: check-file-existence diff --git a/clang-tidy/README.md b/clang-tidy/README.md index 4397addc..42032198 100644 --- a/clang-tidy/README.md +++ b/clang-tidy/README.md @@ -8,7 +8,7 @@ This workflow depends on `colcon-build` action. ```yaml jobs: clang-tidy: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic needs: build-and-test steps: diff --git a/colcon-build/README.md b/colcon-build/README.md index aac5dbcd..b50fd4f8 100644 --- a/colcon-build/README.md +++ b/colcon-build/README.md @@ -7,7 +7,7 @@ This action runs `colcon build`. ```yaml jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic steps: - name: Check out repository diff --git a/colcon-test/README.md b/colcon-test/README.md index cfa8c525..10c01c6e 100644 --- a/colcon-test/README.md +++ b/colcon-test/README.md @@ -8,7 +8,7 @@ Note that you need to build target packages before running this action. ```yaml jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic steps: - name: Check out repository @@ -30,7 +30,7 @@ jobs: test: needs: build - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic strategy: matrix: diff --git a/create-prs-to-update-vcs-repositories/README.md b/create-prs-to-update-vcs-repositories/README.md index 90a2b86f..8f46fd89 100644 --- a/create-prs-to-update-vcs-repositories/README.md +++ b/create-prs-to-update-vcs-repositories/README.md @@ -22,7 +22,7 @@ These secrets are already set if inside of the autoware repository. ```yaml jobs: sync-files: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/delete-closed-pr-docs/README.md b/delete-closed-pr-docs/README.md index 4f595ebf..dddb3f29 100644 --- a/delete-closed-pr-docs/README.md +++ b/delete-closed-pr-docs/README.md @@ -7,7 +7,7 @@ This action deletes documents of closed pull requests deployed by `deploy-docs` ```yaml jobs: delete-closed-pr-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/deploy-docs/README.md b/deploy-docs/README.md index 687c8b90..94c1e973 100644 --- a/deploy-docs/README.md +++ b/deploy-docs/README.md @@ -9,7 +9,7 @@ Note that this workflow installs the limited number of plugins that are used in ```yaml jobs: deploy-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/generate-changelog/README.md b/generate-changelog/README.md index 8e0a5341..99762a76 100644 --- a/generate-changelog/README.md +++ b/generate-changelog/README.md @@ -9,7 +9,7 @@ This action generates the changelog using [git-cliff](https://github.com/orhun/g ```yaml jobs: generate-changelog: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/get-modified-packages/README.md b/get-modified-packages/README.md index 0e00193b..bf4bebb3 100644 --- a/get-modified-packages/README.md +++ b/get-modified-packages/README.md @@ -9,7 +9,7 @@ This action get the list of ROS packages modified in the pull request. ```yaml jobs: get-modified-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v4 @@ -26,7 +26,7 @@ jobs: ```yaml jobs: get-modified-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Set PR fetch depth run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}" diff --git a/get-self-packages/README.md b/get-self-packages/README.md index 5be53b11..e00ebf98 100644 --- a/get-self-packages/README.md +++ b/get-self-packages/README.md @@ -7,7 +7,7 @@ This action gets the list of ROS packages in the repository. ```yaml jobs: get-self-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/json-schema-check/README.md b/json-schema-check/README.md index f0e1b0da..6bfc9cd5 100644 --- a/json-schema-check/README.md +++ b/json-schema-check/README.md @@ -9,7 +9,7 @@ This action checks if the ROS 2 parameter files (`config/*.param.yaml`) of packa ```yaml jobs: json-schema-check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/pre-commit-autoupdate/README.md b/pre-commit-autoupdate/README.md index b47ea39a..3bd5c981 100644 --- a/pre-commit-autoupdate/README.md +++ b/pre-commit-autoupdate/README.md @@ -9,7 +9,7 @@ It uses [peter-evans/create-pull-request](https://github.com/peter-evans/create- ```yaml jobs: sync-files: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/pre-commit/README.md b/pre-commit/README.md index 1feaeb11..6f833cdb 100644 --- a/pre-commit/README.md +++ b/pre-commit/README.md @@ -9,7 +9,7 @@ Considering the case that you have both `.pre-commit-config.yaml` and `.pre-comm ```yaml jobs: pre-commit: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/register-autonomoustuff-repository/README.md b/register-autonomoustuff-repository/README.md index 75e684e6..ca795bf3 100644 --- a/register-autonomoustuff-repository/README.md +++ b/register-autonomoustuff-repository/README.md @@ -9,7 +9,7 @@ This action sets up the prerequisites for [pacmod3_msgs](https://github.com/astu ```yaml jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic steps: - name: Check out repository diff --git a/remove-exec-depend/README.md b/remove-exec-depend/README.md index 849957af..1c0e4463 100644 --- a/remove-exec-depend/README.md +++ b/remove-exec-depend/README.md @@ -8,7 +8,7 @@ Refer to [here](https://github.com/autowarefoundation/autoware.universe/issues/1 ```yaml jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic steps: - name: Check out repository diff --git a/set-cuda-path/README.md b/set-cuda-path/README.md index a96ab56b..7aa363ed 100644 --- a/set-cuda-path/README.md +++ b/set-cuda-path/README.md @@ -7,7 +7,7 @@ This action set the CUDA path into GITHUB_ENV amd GITHUB_PATH. ```yaml jobs: set-cuda-path: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/set-git-config/README.md b/set-git-config/README.md index 1cf98d6a..f7230dad 100644 --- a/set-git-config/README.md +++ b/set-git-config/README.md @@ -13,7 +13,7 @@ This action sets several git configs. ```yaml jobs: example: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/spell-check/README.md b/spell-check/README.md index ef5fb281..85bc3e53 100644 --- a/spell-check/README.md +++ b/spell-check/README.md @@ -10,7 +10,7 @@ As it is difficult to perfectly detect all miss spellings, it is recommended not ```yaml jobs: spell-check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/sync-branches/README.md b/sync-branches/README.md index 5c81aecf..49574171 100644 --- a/sync-branches/README.md +++ b/sync-branches/README.md @@ -12,7 +12,7 @@ Note that you need `workflow` permission for the token if you copy workflow file ```yaml jobs: sync-branches: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/sync-files/README.md b/sync-files/README.md index acabfbad..e4e73fa6 100644 --- a/sync-files/README.md +++ b/sync-files/README.md @@ -41,7 +41,7 @@ For this action to work properly, the following settings are required in the tar ```yaml jobs: sync-files: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/update-codeowners-from-packages/README.md b/update-codeowners-from-packages/README.md index aaf809c4..c2bc998b 100644 --- a/update-codeowners-from-packages/README.md +++ b/update-codeowners-from-packages/README.md @@ -12,7 +12,7 @@ Note that you need `workflow` permission for the token if you copy workflow file ```yaml jobs: update-codeowners-from-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token From f23a43a08ee1960ef9bd972898eff8cf205b0e55 Mon Sep 17 00:00:00 2001 From: Junya Sasaki Date: Fri, 11 Oct 2024 19:07:25 +0900 Subject: [PATCH 2/2] fix(github-runner): fix to use ubuntu-22.04 (see below) * It seems the default OS will change from ubuntu-22.04 to ubuntu-24.04 around on 30th Oct. 2024 (Ref. https://github.com/actions/runner-images/issues/10636) * To prevent from the unexpected fixes for a while, keep using ubuntu-22.04 Signed-off-by: Junya Sasaki --- .github/workflows/actions-tagger.yaml | 2 +- .github/workflows/check-secret.yaml | 2 +- .github/workflows/github-release.yaml | 2 +- .github/workflows/make-sure-label-is-present.yaml | 2 +- .github/workflows/pre-commit-optional.yaml | 2 +- .github/workflows/pre-commit.yaml | 2 +- .github/workflows/prevent-no-label-execution.yaml | 2 +- .github/workflows/semantic-pull-request.yaml | 2 +- .github/workflows/spell-check-differential.yaml | 2 +- .github/workflows/sync-files.yaml | 2 +- .github/workflows/test-composite-actions.yaml | 10 +++++----- README.md | 2 +- check-file-existence/README.md | 2 +- clang-tidy/README.md | 2 +- colcon-build/README.md | 2 +- colcon-test/README.md | 4 ++-- create-prs-to-update-vcs-repositories/README.md | 2 +- delete-closed-pr-docs/README.md | 2 +- deploy-docs/README.md | 2 +- generate-changelog/README.md | 2 +- get-modified-packages/README.md | 4 ++-- get-self-packages/README.md | 2 +- json-schema-check/README.md | 2 +- pre-commit-autoupdate/README.md | 2 +- pre-commit/README.md | 2 +- register-autonomoustuff-repository/README.md | 2 +- remove-exec-depend/README.md | 2 +- set-cuda-path/README.md | 2 +- set-git-config/README.md | 2 +- spell-check/README.md | 2 +- sync-branches/README.md | 2 +- sync-files/README.md | 2 +- update-codeowners-from-packages/README.md | 2 +- 33 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/actions-tagger.yaml b/.github/workflows/actions-tagger.yaml index d725103c..00d2d5bc 100644 --- a/.github/workflows/actions-tagger.yaml +++ b/.github/workflows/actions-tagger.yaml @@ -8,6 +8,6 @@ on: jobs: actions-tagger: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: Actions-R-Us/actions-tagger@v2 diff --git a/.github/workflows/check-secret.yaml b/.github/workflows/check-secret.yaml index 54facf05..2e6dae4b 100644 --- a/.github/workflows/check-secret.yaml +++ b/.github/workflows/check-secret.yaml @@ -11,7 +11,7 @@ on: jobs: check-secret: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: set: ${{ steps.check-secret.outputs.set }} steps: diff --git a/.github/workflows/github-release.yaml b/.github/workflows/github-release.yaml index b426d0cb..4b1d7f47 100644 --- a/.github/workflows/github-release.yaml +++ b/.github/workflows/github-release.yaml @@ -15,7 +15,7 @@ on: jobs: github-release: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Set tag name id: set-tag-name diff --git a/.github/workflows/make-sure-label-is-present.yaml b/.github/workflows/make-sure-label-is-present.yaml index d7305344..9f11ac71 100644 --- a/.github/workflows/make-sure-label-is-present.yaml +++ b/.github/workflows/make-sure-label-is-present.yaml @@ -12,7 +12,7 @@ on: jobs: make-sure-label-is-present: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: result: ${{ steps.make-sure-label-is-present.outputs.result }} steps: diff --git a/.github/workflows/pre-commit-optional.yaml b/.github/workflows/pre-commit-optional.yaml index 38738196..12f536c5 100644 --- a/.github/workflows/pre-commit-optional.yaml +++ b/.github/workflows/pre-commit-optional.yaml @@ -5,7 +5,7 @@ on: jobs: pre-commit-optional: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index c724885f..4d005e84 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -6,7 +6,7 @@ on: jobs: pre-commit: if: ${{ github.event.repository.private }} # Use pre-commit.ci for public repositories - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/.github/workflows/prevent-no-label-execution.yaml b/.github/workflows/prevent-no-label-execution.yaml index 924e6ff6..2883871f 100644 --- a/.github/workflows/prevent-no-label-execution.yaml +++ b/.github/workflows/prevent-no-label-execution.yaml @@ -12,7 +12,7 @@ on: jobs: prevent-no-label-execution: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: run: ${{ steps.prevent-no-label-execution.outputs.run }} steps: diff --git a/.github/workflows/semantic-pull-request.yaml b/.github/workflows/semantic-pull-request.yaml index 9cfb7247..ba9dfe2e 100644 --- a/.github/workflows/semantic-pull-request.yaml +++ b/.github/workflows/semantic-pull-request.yaml @@ -10,7 +10,7 @@ on: jobs: semantic-pull-request: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Validate PR title uses: amannn/action-semantic-pull-request@v5 diff --git a/.github/workflows/spell-check-differential.yaml b/.github/workflows/spell-check-differential.yaml index 1fbf2ff4..f030a452 100644 --- a/.github/workflows/spell-check-differential.yaml +++ b/.github/workflows/spell-check-differential.yaml @@ -5,7 +5,7 @@ on: jobs: spell-check-differential: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/.github/workflows/sync-files.yaml b/.github/workflows/sync-files.yaml index 51e523b8..0cffbcd2 100644 --- a/.github/workflows/sync-files.yaml +++ b/.github/workflows/sync-files.yaml @@ -14,7 +14,7 @@ jobs: sync-files: needs: check-secret if: ${{ needs.check-secret.outputs.set == 'true' }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/.github/workflows/test-composite-actions.yaml b/.github/workflows/test-composite-actions.yaml index c5675893..fae22f45 100644 --- a/.github/workflows/test-composite-actions.yaml +++ b/.github/workflows/test-composite-actions.yaml @@ -8,7 +8,7 @@ on: jobs: test-register-autonomoustuff-repository: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:${{ matrix.rosdistro }} strategy: fail-fast: false @@ -34,7 +34,7 @@ jobs: rosdep resolve pacmod3_msgs test-clang-tidy-empty-target: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:${{ matrix.rosdistro }} strategy: fail-fast: false @@ -53,7 +53,7 @@ jobs: clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy test-check-file-existence: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v4 @@ -115,7 +115,7 @@ jobs: [[ "${{ steps.check-file-existence4.outputs.exists }}" == "true" ]] test-colcon-build-and-colcon-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:${{ matrix.rosdistro }} strategy: fail-fast: false @@ -139,7 +139,7 @@ jobs: target-packages: empty_target_cmake empty_target_python test-get-self-packages-and-get-modified-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ${{ matrix.container }} strategy: fail-fast: false diff --git a/README.md b/README.md index 24c042be..9b11f084 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ jobs: sync-files: needs: check-secret if: ${{ needs.check-secret.outputs.set == 'true' }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/check-file-existence/README.md b/check-file-existence/README.md index 0b17f19c..1113df8a 100644 --- a/check-file-existence/README.md +++ b/check-file-existence/README.md @@ -9,7 +9,7 @@ This action checks if the specified files exist. ```yaml jobs: check-file-existence: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check file existence id: check-file-existence diff --git a/clang-tidy/README.md b/clang-tidy/README.md index 4397addc..42032198 100644 --- a/clang-tidy/README.md +++ b/clang-tidy/README.md @@ -8,7 +8,7 @@ This workflow depends on `colcon-build` action. ```yaml jobs: clang-tidy: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic needs: build-and-test steps: diff --git a/colcon-build/README.md b/colcon-build/README.md index aac5dbcd..b50fd4f8 100644 --- a/colcon-build/README.md +++ b/colcon-build/README.md @@ -7,7 +7,7 @@ This action runs `colcon build`. ```yaml jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic steps: - name: Check out repository diff --git a/colcon-test/README.md b/colcon-test/README.md index cfa8c525..10c01c6e 100644 --- a/colcon-test/README.md +++ b/colcon-test/README.md @@ -8,7 +8,7 @@ Note that you need to build target packages before running this action. ```yaml jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic steps: - name: Check out repository @@ -30,7 +30,7 @@ jobs: test: needs: build - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic strategy: matrix: diff --git a/create-prs-to-update-vcs-repositories/README.md b/create-prs-to-update-vcs-repositories/README.md index 90a2b86f..8f46fd89 100644 --- a/create-prs-to-update-vcs-repositories/README.md +++ b/create-prs-to-update-vcs-repositories/README.md @@ -22,7 +22,7 @@ These secrets are already set if inside of the autoware repository. ```yaml jobs: sync-files: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/delete-closed-pr-docs/README.md b/delete-closed-pr-docs/README.md index 4f595ebf..dddb3f29 100644 --- a/delete-closed-pr-docs/README.md +++ b/delete-closed-pr-docs/README.md @@ -7,7 +7,7 @@ This action deletes documents of closed pull requests deployed by `deploy-docs` ```yaml jobs: delete-closed-pr-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/deploy-docs/README.md b/deploy-docs/README.md index 687c8b90..94c1e973 100644 --- a/deploy-docs/README.md +++ b/deploy-docs/README.md @@ -9,7 +9,7 @@ Note that this workflow installs the limited number of plugins that are used in ```yaml jobs: deploy-docs: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/generate-changelog/README.md b/generate-changelog/README.md index 8e0a5341..99762a76 100644 --- a/generate-changelog/README.md +++ b/generate-changelog/README.md @@ -9,7 +9,7 @@ This action generates the changelog using [git-cliff](https://github.com/orhun/g ```yaml jobs: generate-changelog: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/get-modified-packages/README.md b/get-modified-packages/README.md index 0e00193b..bf4bebb3 100644 --- a/get-modified-packages/README.md +++ b/get-modified-packages/README.md @@ -9,7 +9,7 @@ This action get the list of ROS packages modified in the pull request. ```yaml jobs: get-modified-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v4 @@ -26,7 +26,7 @@ jobs: ```yaml jobs: get-modified-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Set PR fetch depth run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}" diff --git a/get-self-packages/README.md b/get-self-packages/README.md index 5be53b11..e00ebf98 100644 --- a/get-self-packages/README.md +++ b/get-self-packages/README.md @@ -7,7 +7,7 @@ This action gets the list of ROS packages in the repository. ```yaml jobs: get-self-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/json-schema-check/README.md b/json-schema-check/README.md index f0e1b0da..6bfc9cd5 100644 --- a/json-schema-check/README.md +++ b/json-schema-check/README.md @@ -9,7 +9,7 @@ This action checks if the ROS 2 parameter files (`config/*.param.yaml`) of packa ```yaml jobs: json-schema-check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/pre-commit-autoupdate/README.md b/pre-commit-autoupdate/README.md index b47ea39a..3bd5c981 100644 --- a/pre-commit-autoupdate/README.md +++ b/pre-commit-autoupdate/README.md @@ -9,7 +9,7 @@ It uses [peter-evans/create-pull-request](https://github.com/peter-evans/create- ```yaml jobs: sync-files: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/pre-commit/README.md b/pre-commit/README.md index 1feaeb11..6f833cdb 100644 --- a/pre-commit/README.md +++ b/pre-commit/README.md @@ -9,7 +9,7 @@ Considering the case that you have both `.pre-commit-config.yaml` and `.pre-comm ```yaml jobs: pre-commit: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/register-autonomoustuff-repository/README.md b/register-autonomoustuff-repository/README.md index 75e684e6..ca795bf3 100644 --- a/register-autonomoustuff-repository/README.md +++ b/register-autonomoustuff-repository/README.md @@ -9,7 +9,7 @@ This action sets up the prerequisites for [pacmod3_msgs](https://github.com/astu ```yaml jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic steps: - name: Check out repository diff --git a/remove-exec-depend/README.md b/remove-exec-depend/README.md index 849957af..1c0e4463 100644 --- a/remove-exec-depend/README.md +++ b/remove-exec-depend/README.md @@ -8,7 +8,7 @@ Refer to [here](https://github.com/autowarefoundation/autoware.universe/issues/1 ```yaml jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ros:galactic steps: - name: Check out repository diff --git a/set-cuda-path/README.md b/set-cuda-path/README.md index a96ab56b..7aa363ed 100644 --- a/set-cuda-path/README.md +++ b/set-cuda-path/README.md @@ -7,7 +7,7 @@ This action set the CUDA path into GITHUB_ENV amd GITHUB_PATH. ```yaml jobs: set-cuda-path: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/set-git-config/README.md b/set-git-config/README.md index 1cf98d6a..f7230dad 100644 --- a/set-git-config/README.md +++ b/set-git-config/README.md @@ -13,7 +13,7 @@ This action sets several git configs. ```yaml jobs: example: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/spell-check/README.md b/spell-check/README.md index ef5fb281..85bc3e53 100644 --- a/spell-check/README.md +++ b/spell-check/README.md @@ -10,7 +10,7 @@ As it is difficult to perfectly detect all miss spellings, it is recommended not ```yaml jobs: spell-check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v3 diff --git a/sync-branches/README.md b/sync-branches/README.md index 5c81aecf..49574171 100644 --- a/sync-branches/README.md +++ b/sync-branches/README.md @@ -12,7 +12,7 @@ Note that you need `workflow` permission for the token if you copy workflow file ```yaml jobs: sync-branches: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/sync-files/README.md b/sync-files/README.md index acabfbad..e4e73fa6 100644 --- a/sync-files/README.md +++ b/sync-files/README.md @@ -41,7 +41,7 @@ For this action to work properly, the following settings are required in the tar ```yaml jobs: sync-files: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token diff --git a/update-codeowners-from-packages/README.md b/update-codeowners-from-packages/README.md index aaf809c4..c2bc998b 100644 --- a/update-codeowners-from-packages/README.md +++ b/update-codeowners-from-packages/README.md @@ -12,7 +12,7 @@ Note that you need `workflow` permission for the token if you copy workflow file ```yaml jobs: update-codeowners-from-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Generate token id: generate-token