From b57b7ea5207652f85a49c0a95ba1516a9bfd06b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Fri, 29 Nov 2024 14:45:46 +0300 Subject: [PATCH] ci(sync-files): simplify by utilizing source-dir param (#5511) 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 | 94 ++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 62 deletions(-) diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index aa720753cb..e8d63cde66 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -1,64 +1,34 @@ - repository: autowarefoundation/sync-file-templates + source-dir: sources files: - - source: sources/.github/ISSUE_TEMPLATE/bug.yaml - dest: .github/ISSUE_TEMPLATE/bug.yaml - - source: sources/.github/ISSUE_TEMPLATE/config.yml - dest: .github/ISSUE_TEMPLATE/config.yml - - source: sources/.github/ISSUE_TEMPLATE/task.yaml - dest: .github/ISSUE_TEMPLATE/task.yaml - - source: sources/.github/dependabot.yaml - dest: .github/dependabot.yaml - - source: sources/.github/pull_request_template.md - dest: .github/pull_request_template.md - - source: sources/.github/stale.yml - dest: .github/stale.yml - - source: sources/.github/workflows/cancel-previous-workflows.yaml - dest: .github/workflows/cancel-previous-workflows.yaml - - source: sources/.github/workflows/comment-on-pr.yaml - dest: .github/workflows/comment-on-pr.yaml - - source: sources/.github/workflows/github-release.yaml - dest: .github/workflows/github-release.yaml - - source: sources/.github/workflows/pre-commit-optional.yaml - dest: .github/workflows/pre-commit-optional.yaml - - source: sources/.github/workflows/pre-commit-optional-autoupdate.yaml - dest: .github/workflows/pre-commit-optional-autoupdate.yaml - - source: sources/.github/workflows/pre-commit-autoupdate.yaml - dest: .github/workflows/pre-commit-autoupdate.yaml - - source: sources/.github/workflows/semantic-pull-request.yaml - dest: .github/workflows/semantic-pull-request.yaml - - source: sources/.github/workflows/spell-check-differential.yaml - dest: .github/workflows/spell-check-differential.yaml - - source: sources/.github/workflows/spell-check-daily.yaml - dest: .github/workflows/spell-check-daily.yaml - - source: sources/.github/workflows/sync-files.yaml - dest: .github/workflows/sync-files.yaml - - source: sources/.clang-format - dest: .clang-format - - source: sources/.clang-tidy - dest: .clang-tidy - - source: sources/.markdown-link-check.json - dest: .markdown-link-check.json - - source: sources/.markdownlint.yaml - dest: .markdownlint.yaml - - source: sources/.pre-commit-config-optional.yaml - dest: .pre-commit-config-optional.yaml - - source: sources/.pre-commit-config.yaml - dest: .pre-commit-config.yaml - - source: sources/.prettierignore - dest: .prettierignore - - source: sources/.prettierrc.yaml - dest: .prettierrc.yaml - - source: sources/.yamllint.yaml - dest: .yamllint.yaml - - source: sources/CODE_OF_CONDUCT.md - dest: CODE_OF_CONDUCT.md - - source: sources/CONTRIBUTING.md - dest: CONTRIBUTING.md - - source: sources/CPPLINT.cfg - dest: CPPLINT.cfg - - source: sources/DISCLAIMER.md - dest: DISCLAIMER.md - - source: sources/LICENSE - dest: LICENSE - - source: sources/setup.cfg - dest: setup.cfg + - source: .github/ISSUE_TEMPLATE/bug.yaml + - source: .github/ISSUE_TEMPLATE/config.yml + - source: .github/ISSUE_TEMPLATE/task.yaml + - source: .github/dependabot.yaml + - source: .github/pull_request_template.md + - source: .github/stale.yml + - source: .github/workflows/cancel-previous-workflows.yaml + - source: .github/workflows/comment-on-pr.yaml + - source: .github/workflows/github-release.yaml + - source: .github/workflows/pre-commit-optional.yaml + - source: .github/workflows/pre-commit-optional-autoupdate.yaml + - source: .github/workflows/pre-commit-autoupdate.yaml + - source: .github/workflows/semantic-pull-request.yaml + - source: .github/workflows/spell-check-differential.yaml + - source: .github/workflows/spell-check-daily.yaml + - source: .github/workflows/sync-files.yaml + - source: .clang-format + - source: .clang-tidy + - source: .markdown-link-check.json + - source: .markdownlint.yaml + - source: .pre-commit-config-optional.yaml + - source: .pre-commit-config.yaml + - source: .prettierignore + - source: .prettierrc.yaml + - source: .yamllint.yaml + - source: CODE_OF_CONDUCT.md + - source: CONTRIBUTING.md + - source: CPPLINT.cfg + - source: DISCLAIMER.md + - source: LICENSE + - source: setup.cfg