Skip to content

Commit f7d6825

Browse files
chore: sync files (#17)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: M. Fatih Cırıt <mfc@autoware.org>
1 parent 5314a10 commit f7d6825

35 files changed

+251
-327
lines changed

.clang-format

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
# Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format
26
Language: Cpp
37
BasedOnStyle: Google

.clang-tidy

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
Checks: "
26
-*,
37
boost-use-to-string,
@@ -202,7 +206,8 @@ WarningsAsErrors: "
202206

203207
HeaderFilterRegex: ^(?!\/usr)(?!\/opt)
204208

205-
AnalyzeTemporaryDtors: false
209+
ExtraArgs:
210+
- -std=c++17
206211

207212
FormatStyle: none
208213

.github/ISSUE_TEMPLATE/bug.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: Bug
26
description: Report a bug
37
body:

.github/ISSUE_TEMPLATE/config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
blank_issues_enabled: false
26
contact_links:
37
- name: Question

.github/ISSUE_TEMPLATE/task.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: Task
26
description: Plan a task
37
body:

.github/dependabot.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
version: 2
26
updates:
37
- package-ecosystem: github-actions
48
directory: /
9+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleinterval
510
schedule:
6-
interval: daily
11+
interval: monthly
712
open-pull-requests-limit: 1
813
labels:
914
- tag:bot

.github/pull_request_template.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Description
2+
3+
## How was this PR tested?
4+
5+
## Notes for reviewers
6+
7+
None.
8+
9+
## Effects on system behavior
10+
11+
None.

.github/stale.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
# Modified from https://github.com/probot/stale#usage
26

37
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed

.github/sync-files-reverse-reference.yaml

-39
This file was deleted.

.github/workflows/build-and-test-differential-self-hosted.yaml

-58
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: build-and-test-differential
26

37
on:
48
pull_request:
9+
types:
10+
- opened
11+
- synchronize
12+
- reopened
13+
- labeled
514

615
jobs:
16+
make-sure-label-is-present:
17+
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
18+
with:
19+
label: run:build-and-test-differential
20+
721
build-and-test-differential:
8-
runs-on: ubuntu-latest
22+
needs: make-sure-label-is-present
23+
if: ${{ needs.make-sure-label-is-present.outputs.result == 'true' }}
24+
runs-on: ubuntu-22.04
925
container: ${{ matrix.container }}
1026
strategy:
1127
fail-fast: false
@@ -15,12 +31,18 @@ jobs:
1531
include:
1632
- rosdistro: humble
1733
container: ros:humble
18-
build-depends-repos: build_depends.repos
1934
steps:
20-
- name: Check out repository
35+
- name: Set PR fetch depth
36+
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
37+
38+
- name: Checkout PR branch and all PR commits
2139
uses: actions/checkout@v4
2240
with:
23-
fetch-depth: 0
41+
ref: ${{ github.event.pull_request.head.sha }}
42+
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
43+
44+
- name: Show disk space before the tasks
45+
run: df -h
2446

2547
- name: Remove exec_depend
2648
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -35,7 +57,6 @@ jobs:
3557
with:
3658
rosdistro: ${{ matrix.rosdistro }}
3759
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
38-
build-depends-repos: ${{ matrix.build-depends-repos }}
3960

4061
- name: Test
4162
id: test
@@ -44,49 +65,15 @@ jobs:
4465
with:
4566
rosdistro: ${{ matrix.rosdistro }}
4667
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
47-
build-depends-repos: ${{ matrix.build-depends-repos }}
4868

4969
- name: Upload coverage to CodeCov
5070
if: ${{ steps.test.outputs.coverage-report-files != '' }}
51-
uses: codecov/codecov-action@v4
71+
uses: codecov/codecov-action@v5
5272
with:
5373
files: ${{ steps.test.outputs.coverage-report-files }}
5474
fail_ci_if_error: false
5575
verbose: true
5676
flags: differential
57-
token: ${{ secrets.CODECOV_TOKEN }}
58-
59-
clang-tidy-differential:
60-
runs-on: ubuntu-latest
61-
container: ros:humble
62-
needs: build-and-test-differential
63-
steps:
64-
- name: Check out repository
65-
uses: actions/checkout@v4
66-
with:
67-
fetch-depth: 0
6877

69-
- name: Remove exec_depend
70-
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
71-
72-
- name: Get modified packages
73-
id: get-modified-packages
74-
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
75-
76-
- name: Get modified files
77-
id: get-modified-files
78-
uses: tj-actions/changed-files@v45
79-
with:
80-
files: |
81-
**/*.cpp
82-
**/*.hpp
83-
84-
- name: Run clang-tidy
85-
if: ${{ steps.get-modified-files.outputs.all_changed_files != '' }}
86-
uses: autowarefoundation/autoware-github-actions/clang-tidy@v1
87-
with:
88-
rosdistro: humble
89-
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
90-
target-files: ${{ steps.get-modified-files.outputs.all_changed_files }}
91-
clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
92-
build-depends-repos: build_depends.repos
78+
- name: Show disk space after the tasks
79+
run: df -h

.github/workflows/build-and-test-self-hosted.yaml

-46
This file was deleted.

.github/workflows/build-and-test-with-reverse-depends.yaml

-52
This file was deleted.

0 commit comments

Comments
 (0)