Skip to content

Commit f4901c0

Browse files
authored
ci(sync-files): utilize sync-file-templates repo (#101)
Signed-off-by: M. Fatih Cırıt <mfc@autoware.org>
1 parent d13f977 commit f4901c0

File tree

1 file changed

+36
-27
lines changed

1 file changed

+36
-27
lines changed

.github/sync-files.yaml

+36-27
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,57 @@
1-
- repository: autowarefoundation/autoware
1+
- repository: autowarefoundation/sync-file-templates
2+
source-dir: sources
23
files:
3-
- source: CODE_OF_CONDUCT.md
4-
- source: CONTRIBUTING.md
5-
- source: DISCLAIMER.md
6-
- source: LICENSE
74
- source: .github/ISSUE_TEMPLATE/bug.yaml
85
- source: .github/ISSUE_TEMPLATE/config.yml
96
- source: .github/ISSUE_TEMPLATE/task.yaml
10-
- source: .github/PULL_REQUEST_TEMPLATE.md
11-
- source: .github/PULL_REQUEST_TEMPLATE/small-change.md
12-
- source: .github/PULL_REQUEST_TEMPLATE/standard-change.md
137
- source: .github/dependabot.yaml
8+
- source: .github/pull_request_template_complex.md
9+
dest: .github/pull_request_template.md
1410
- source: .github/stale.yml
1511
- source: .github/workflows/cancel-previous-workflows.yaml
12+
- source: .github/workflows/check-build-depends.yaml
13+
- source: .github/workflows/clang-tidy-pr-comments.yaml
14+
- source: .github/workflows/clang-tidy-pr-comments-manually.yaml
15+
- source: .github/workflows/comment-on-pr.yaml
16+
- source: .github/workflows/delete-closed-pr-docs.yaml
17+
- source: .github/workflows/deploy-docs.yaml
1618
- source: .github/workflows/github-release.yaml
1719
- source: .github/workflows/pre-commit.yaml
18-
- source: .github/workflows/pre-commit-optional.yaml
20+
- source: .github/workflows/pre-commit-autoupdate.yaml
1921
- source: .github/workflows/semantic-pull-request.yaml
2022
- source: .github/workflows/spell-check-differential.yaml
23+
pre-commands: |
24+
sd " with:\n" " with:\n local-cspell-json: .cspell.json\n" {source}
25+
- source: .github/workflows/spell-check-daily.yaml
26+
pre-commands: |
27+
sd " with:\n" " with:\n local-cspell-json: .cspell.json\n" {source}
2128
- source: .github/workflows/sync-files.yaml
29+
- source: .github/workflows/update-codeowners-from-packages.yaml
2230
- source: .clang-format
2331
- source: .clang-tidy
2432
- source: .markdown-link-check.json
2533
- source: .markdownlint.yaml
26-
- source: .pre-commit-config-optional.yaml
34+
- source: .pre-commit-config.yaml
2735
- source: .prettierignore
2836
- source: .prettierrc.yaml
2937
- source: .yamllint.yaml
38+
- source: codecov.yaml
39+
- source: CODE_OF_CONDUCT.md
40+
- source: CONTRIBUTING.md
3041
- source: CPPLINT.cfg
42+
- source: DISCLAIMER.md
43+
- source: LICENSE
44+
- source: mkdocs-base.yaml
45+
dest: mkdocs.yaml
46+
pre-commands: |
47+
sd "Autoware Documentation" "Autoware Core Documentation" {source}
48+
sd "autoware-documentation" "autoware.core" {source}
49+
sd "repo_url: .*" "repo_url: https://github.com/autowarefoundation/autoware.core" {source}
50+
sd "/edit/main/docs/" "/edit/main/" {source}
51+
sd "docs_dir: .*" "docs_dir: ." {source}
52+
sd "assets/(\w+)" "docs/assets/\$1" {source}
53+
sd -- \
54+
" - macros" \
55+
" - macros:
56+
module_name: mkdocs_macros" {source}
3157
- source: setup.cfg
32-
33-
- repository: autowarefoundation/autoware_common
34-
files:
35-
- source: .github/workflows/build-and-test.yaml
36-
- source: .github/workflows/build-and-test-differential.yaml
37-
- source: .github/workflows/build-and-test-differential-self-hosted.yaml
38-
- source: .github/workflows/build-and-test-self-hosted.yaml
39-
- source: .github/workflows/check-build-depends.yaml
40-
- source: .github/workflows/clang-tidy-pr-comments.yaml
41-
- source: .github/workflows/update-codeowners-from-packages.yaml
42-
- source: .pre-commit-config.yaml
43-
- source: codecov.yaml
44-
45-
- repository: autowarefoundation/autoware-documentation
46-
files:
47-
- source: .github/workflows/deploy-docs.yaml
48-
- source: .github/workflows/delete-closed-pr-docs.yaml

0 commit comments

Comments
 (0)