From 8ef670c6effcc6bb0f78362a905b82a1da9276f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Sun, 8 Dec 2024 19:42:37 +0300 Subject: [PATCH] ci(sync-files): utilize 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 | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index b5a11f7..531120a 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,9 +8,7 @@ - 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/github-release.yaml @@ -18,18 +17,20 @@ - source: .github/workflows/semantic-pull-request.yaml - source: .github/workflows/spell-check-differential.yaml - source: .github/workflows/sync-files.yaml + - source: .github/workflows/sync-files-daily.yaml - source: .markdown-link-check.json - source: .markdownlint.yaml - source: .pre-commit-config-optional.yaml - source: .prettierignore - source: .prettierrc.yaml - source: .yamllint.yaml - -- repository: autowarefoundation/autoware_common - files: - source: .github/workflows/build-and-test.yaml pre-commands: | sed -i '/build-depends-repos/d' {source} - source: .github/workflows/build-and-test-differential.yaml pre-commands: | sed -i '/build-depends-repos/d' {source} + +# sed: The stream editor command, used for parsing and transforming text. +# -i: Edit files in place. +# '/build-depends-repos/d': Delete the line containing 'build-depends-repos'.