From 06808a4e9ef0d17c720a4ab98a583e2aa3db011f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Sun, 8 Dec 2024 20:18:50 +0300 Subject: [PATCH 1/4] ci(sync-files): make use of sync-file-templates repository MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/sync-files.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index 4deb334463..81d975db05 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -1,4 +1,5 @@ -- repository: autowarefoundation/autoware +- repository: autowarefoundation/sync-file-templates + source-dir: sources files: - source: CODE_OF_CONDUCT.md - source: CONTRIBUTING.md @@ -7,15 +8,15 @@ - source: .github/ISSUE_TEMPLATE/bug.yaml - source: .github/ISSUE_TEMPLATE/config.yml - source: .github/ISSUE_TEMPLATE/task.yaml - - source: .github/PULL_REQUEST_TEMPLATE.md - - source: .github/PULL_REQUEST_TEMPLATE/small-change.md - - source: .github/PULL_REQUEST_TEMPLATE/standard-change.md + - source: .github/pull_request_template.md - source: .github/dependabot.yaml - source: .github/stale.yml + - source: .github/workflows/comment-on-pr.yaml - source: .github/workflows/github-release.yaml - source: .github/workflows/pre-commit.yaml - source: .github/workflows/pre-commit-optional.yaml - source: .github/workflows/semantic-pull-request.yaml + - source: .github/workflows/spell-check-daily.yaml - source: .github/workflows/spell-check-differential.yaml - source: .github/workflows/sync-files.yaml - source: .markdown-link-check.json @@ -25,9 +26,6 @@ - source: .prettierrc.yaml - source: .yamllint.yaml - source: setup.cfg - -- repository: autowarefoundation/autoware_common - files: - source: .github/workflows/build-and-test.yaml - source: .github/workflows/build-and-test-differential.yaml - source: .github/workflows/cancel-previous-workflows.yaml From c936b975c824c35387d9f35500e1771752161dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Sun, 8 Dec 2024 20:29:44 +0300 Subject: [PATCH 2/4] prettier ignore diagnostic_graph_aggregator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/sync-files.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index 81d975db05..297f045868 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -23,6 +23,8 @@ - source: .markdownlint.yaml - source: .pre-commit-config-optional.yaml - source: .prettierignore + pre-commands: | + sd "\n\n" "\n**/diagnostic_graph_aggregator/\n\n" {source} - source: .prettierrc.yaml - source: .yamllint.yaml - source: setup.cfg From e2d7d40be85aff31d93cf2082347266faa9a00b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Sun, 8 Dec 2024 20:31:50 +0300 Subject: [PATCH 3/4] add better MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/sync-files.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index 297f045868..b6b822d68e 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -24,7 +24,7 @@ - source: .pre-commit-config-optional.yaml - source: .prettierignore pre-commands: | - sd "\n\n" "\n**/diagnostic_graph_aggregator/\n\n" {source} + sd "*.rviz\n" "*.rviz\n**/diagnostic_graph_aggregator/\n" {source} - source: .prettierrc.yaml - source: .yamllint.yaml - source: setup.cfg From f2045572ef976e56b82d87636f5f2c4835e9dbc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Sun, 8 Dec 2024 20:33:15 +0300 Subject: [PATCH 4/4] fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/sync-files.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index b6b822d68e..9972c966ea 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -24,7 +24,7 @@ - source: .pre-commit-config-optional.yaml - source: .prettierignore pre-commands: | - sd "*.rviz\n" "*.rviz\n**/diagnostic_graph_aggregator/\n" {source} + sd "rviz\n" "rviz\n**/diagnostic_graph_aggregator/\n" {source} - source: .prettierrc.yaml - source: .yamllint.yaml - source: setup.cfg