Skip to content

Commit

Permalink
ci(sync-files): utilize sync-file-templates repository (#105)
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx authored Dec 9, 2024
1 parent e4eedc6 commit 3597d20
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 105 deletions.
8 changes: 0 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

40 changes: 0 additions & 40 deletions .github/PULL_REQUEST_TEMPLATE/small-change.md

This file was deleted.

50 changes: 0 additions & 50 deletions .github/PULL_REQUEST_TEMPLATE/standard-change.md

This file was deleted.

16 changes: 9 additions & 7 deletions .github/sync-files.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- repository: autowarefoundation/autoware
- repository: autowarefoundation/sync-file-templates
source-dir: sources
files:
- source: CODE_OF_CONDUCT.md
- source: CONTRIBUTING.md
Expand All @@ -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
Expand All @@ -24,12 +25,13 @@
- 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'.

0 comments on commit 3597d20

Please sign in to comment.