Skip to content

Commit 54d8281

Browse files
github-actionsgithub-actions[bot]
github-actions
authored andcommitted
chore: sync files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5b8219e commit 54d8281

6 files changed

+75
-107
lines changed

.github/workflows/check-build-depends.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build-depends-repos: build_depends.repos
2121
steps:
2222
- name: Check out repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: Remove exec_depend
2626
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: clang-tidy-differential
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
- labeled
10+
11+
jobs:
12+
make-sure-label-is-present:
13+
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
14+
with:
15+
label: tag:run-clang-tidy-differential
16+
17+
clang-tidy-differential:
18+
needs: make-sure-label-is-present
19+
if: ${{ needs.make-sure-label-is-present.outputs.result == 'true' }}
20+
runs-on: ubuntu-latest
21+
container: ghcr.io/autowarefoundation/autoware:latest-autoware-universe-cuda
22+
steps:
23+
- name: Set PR fetch depth
24+
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
25+
26+
- name: Checkout PR branch and all PR commits
27+
uses: actions/checkout@v4
28+
with:
29+
ref: ${{ github.event.pull_request.head.sha }}
30+
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
31+
32+
- name: Show disk space before the tasks
33+
run: df -h
34+
35+
- name: Remove exec_depend
36+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
37+
38+
- name: Get modified packages
39+
id: get-modified-packages
40+
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
41+
42+
- name: Get modified files
43+
id: get-modified-files
44+
uses: tj-actions/changed-files@v42
45+
with:
46+
files: |
47+
**/*.cpp
48+
**/*.hpp
49+
50+
- name: Run clang-tidy
51+
if: ${{ steps.get-modified-files.outputs.all_changed_files != '' }}
52+
uses: autowarefoundation/autoware-github-actions/clang-tidy@v1
53+
with:
54+
rosdistro: humble
55+
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
56+
target-files: ${{ steps.get-modified-files.outputs.all_changed_files }}
57+
clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
58+
build-depends-repos: build_depends.repos
59+
60+
- name: Show disk space after the tasks
61+
run: df -h

.github/workflows/clang-tidy-pr-comments-manually.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out repository
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Download analysis results
1717
run: |
@@ -36,7 +36,7 @@ jobs:
3636
3737
- name: Check out PR head
3838
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
with:
4141
repository: ${{ steps.set-variables.outputs.pr-head-repo }}
4242
ref: ${{ steps.set-variables.outputs.pr-head-ref }}

.github/workflows/clang-tidy-pr-comments.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out repository
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Download analysis results
1919
run: |
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Check out PR head
3939
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141
with:
4242
repository: ${{ steps.set-variables.outputs.pr-head-repo }}
4343
ref: ${{ steps.set-variables.outputs.pr-head-ref }}

.pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
- id: yamllint
3535

3636
- repo: https://github.com/tier4/pre-commit-hooks-ros
37-
rev: v0.10.0
37+
rev: v0.8.0
3838
hooks:
3939
- id: flake8-ros
4040
- id: prettier-xacro
@@ -49,7 +49,7 @@ repos:
4949
- id: shellcheck
5050

5151
- repo: https://github.com/scop/pre-commit-shfmt
52-
rev: v3.9.0-1
52+
rev: v3.8.0-1
5353
hooks:
5454
- id: shfmt
5555
args: [-w, -s, -i=4]
@@ -60,13 +60,13 @@ repos:
6060
- id: isort
6161

6262
- repo: https://github.com/psf/black
63-
rev: 24.8.0
63+
rev: 24.4.2
6464
hooks:
6565
- id: black
6666
args: [--line-length=100]
6767

6868
- repo: https://github.com/pre-commit/mirrors-clang-format
69-
rev: v18.1.8
69+
rev: v18.1.6
7070
hooks:
7171
- id: clang-format
7272
types_or: [c++, c, cuda]
@@ -79,7 +79,7 @@ repos:
7979
exclude: .cu
8080

8181
- repo: https://github.com/python-jsonschema/check-jsonschema
82-
rev: 0.29.2
82+
rev: 0.28.5
8383
hooks:
8484
- id: check-metaschema
8585
files: ^.+/schema/.*schema\.json$

codecov.yaml

+4-97
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
# https://docs.codecov.com/docs/commit-status#project-status
2-
31
coverage:
42
status:
53
project:
64
default:
7-
target: 0% # Make CI always succeed
8-
threshold: 100% # Make CI always succeed
5+
target: auto
96
patch:
107
default:
11-
target: 0% # Make CI always succeed
12-
threshold: 100% # Make CI always succeed
8+
target: auto
139

1410
comment:
1511
show_carryforward_flags: true
@@ -20,96 +16,7 @@ flag_management:
2016
statuses:
2117
- name_prefix: project-
2218
type: project
23-
target: 0% # Make CI always succeed
24-
threshold: 100% # Make CI always succeed
19+
target: auto
2520
- name_prefix: patch-
2621
type: patch
27-
target: 0% # Make CI always succeed
28-
threshold: 100% # Make CI always succeed
29-
30-
ignore:
31-
- "**/test/*"
32-
- "**/test/**/*"
33-
- "**/debug.*"
34-
35-
component_management:
36-
individual_components:
37-
- component_id: planning-tier-iv-maintained-packages
38-
name: Planning TIER IV Maintained Packages
39-
paths:
40-
- planning/autoware_costmap_generator/**
41-
- planning/autoware_external_velocity_limit_selector/**
42-
- planning/autoware_freespace_planner/**
43-
- planning/autoware_freespace_planning_algorithms/**
44-
- planning/autoware_mission_planner/**
45-
# - planning/autoware_objects_of_interest_marker_interface/**
46-
- planning/autoware_obstacle_cruise_planner/**
47-
# - planning/autoware_obstacle_stop_planner/**
48-
- planning/autoware_path_optimizer/**
49-
- planning/autoware_path_smoother/**
50-
- planning/autoware_planning_test_manager/**
51-
- planning/autoware_planning_topic_converter/**
52-
- planning/autoware_planning_validator/**
53-
- planning/autoware_remaining_distance_time_calculator/**
54-
- planning/autoware_route_handler/**
55-
- planning/autoware_rtc_interface/**
56-
- planning/autoware_scenario_selector/**
57-
- planning/autoware_static_centerline_generator/**
58-
- planning/autoware_surround_obstacle_checker/**
59-
- planning/autoware_velocity_smoother/**
60-
##### behavior_path_planner #####
61-
# - planning/behavior_path_planner/autoware_behavior_path_avoidance_by_lane_change_module/**
62-
- planning/behavior_path_planner/autoware_behavior_path_goal_planner_module/**
63-
- planning/behavior_path_planner/autoware_behavior_path_planner_common/**
64-
- planning/behavior_path_planner/autoware_behavior_path_start_planner_module/**
65-
- planning/behavior_path_planner/autoware_behavior_path_dynamic_obstacle_avoidance_module/**
66-
- planning/behavior_path_planner/autoware_behavior_path_lane_change_module/**
67-
# - planning/behavior_path_planner/autoware_behavior_path_sampling_planner_module/**
68-
- planning/behavior_path_planner/autoware_behavior_path_static_obstacle_avoidance_module/**
69-
# - planning/behavior_path_planner/autoware_behavior_path_external_request_lane_change_module/**
70-
- planning/behavior_path_planner/autoware_behavior_path_planner/**
71-
- planning/behavior_path_planner/autoware_behavior_path_side_shift_module/**
72-
##### behavior_velocity_planner #####
73-
- planning/behavior_velocity_planner/autoware_behavior_velocity_blind_spot_module/**
74-
- planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/**
75-
# - planning/behavior_velocity_planner/autoware_behavior_velocity_detection_area_module/**
76-
- planning/behavior_velocity_planner/autoware_behavior_velocity_intersection_module/**
77-
# - planning/behavior_velocity_planner/autoware_behavior_velocity_no_drivable_lane_module/**
78-
- planning/behavior_velocity_planner/autoware_behavior_velocity_no_stopping_area_module/**
79-
# - planning/behavior_velocity_planner/autoware_behavior_velocity_occlusion_spot_module/**
80-
- planning/behavior_velocity_planner/autoware_behavior_velocity_planner/**
81-
# - planning/behavior_velocity_planner/autoware_behavior_velocity_planner_common/**
82-
- planning/behavior_velocity_planner/autoware_behavior_velocity_run_out_module/**
83-
# - planning/behavior_velocity_planner/autoware_behavior_velocity_speed_bump_module/**
84-
- planning/behavior_velocity_planner/autoware_behavior_velocity_stop_line_module/**
85-
# - planning/behavior_velocity_planner/autoware_behavior_velocity_template_module/**
86-
- planning/behavior_velocity_planner/autoware_behavior_velocity_traffic_light_module/**
87-
- planning/behavior_velocity_planner/autoware_behavior_velocity_virtual_traffic_light_module/**
88-
- planning/behavior_velocity_planner/autoware_behavior_velocity_walkway_module/**
89-
##### motion_velocity_planner #####
90-
- planning/motion_velocity_planner/autoware_motion_velocity_dynamic_obstacle_stop_module/**
91-
- planning/motion_velocity_planner/autoware_motion_velocity_obstacle_velocity_limiter_module/**
92-
- planning/motion_velocity_planner/autoware_motion_velocity_out_of_lane_module/**
93-
- planning/motion_velocity_planner/autoware_motion_velocity_planner_common/**
94-
- planning/motion_velocity_planner/autoware_motion_velocity_planner_node/**
95-
96-
- component_id: control-tier-iv-maintained-packages
97-
name: Control TIER IV Maintained Packages
98-
paths:
99-
- control/autoware_autonomous_emergency_braking/**
100-
- control/autoware_control_validator/**
101-
- control/autoware_external_cmd_selector/**
102-
# - control/autoware_joy_controller/**
103-
- control/autoware_lane_departure_checker/**
104-
- control/autoware_mpc_lateral_controller/**
105-
- control/autoware_operation_mode_transition_manager/**
106-
- control/autoware_pid_longitudinal_controller/**
107-
# - control/autoware_pure_pursuit/**
108-
- control/autoware_shift_decider/**
109-
# - control/autoware_smart_mpc_trajectory_follower/**
110-
- control/autoware_trajectory_follower_base/**
111-
- control/autoware_trajectory_follower_node/**
112-
- control/autoware_vehicle_cmd_gate/**
113-
# - control/control_performance_analysis/**
114-
- control/obstacle_collision_checker/**
115-
# - control/predicted_path_checker/**
22+
target: auto

0 commit comments

Comments
 (0)