Skip to content

Commit 2709294

Browse files
committed
chore: add files to sync
1 parent bee0c52 commit 2709294

File tree

3 files changed

+58
-1
lines changed

3 files changed

+58
-1
lines changed

.github/files-sync-config.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
settings:
3+
commit:
4+
format: "<%- prefix %>: <%- subject %>"
5+
prefix: "chore"
6+
subject: "sync files from `<%- repository %>`"
7+
pull_request:
8+
reviewers:
9+
- "shmileee"
10+
labels:
11+
- "auto-sync"
12+
title: "chore: sync files from `<%- repository %>`"
13+
body: |
14+
This PR contains the following updates:
15+
16+
| :chart_with_upwards_trend: Change | :hammer_and_wrench: Synchronizing Repository | :link: Workflow |
17+
| :-- | :-- | :-- |
18+
| <%- changes.length %> files | [<%- repository %>](<%- github %>/<%- repository %>) | [\`<%- workflow %>#<%- run.number %>\`](<%- run.url %>) |
19+
20+
---
21+
22+
### Changed Files
23+
24+
<%_ for (const file of changes) { -%>
25+
- <% if (file.from === file.to) { %>\`<%- file.to %>\`<% } else { %>\`<%- file.from %>\` to \`<%- file.to %>\`<% }%>
26+
<%_ } -%>
27+
merge:
28+
mode: auto
29+
strategy: squash
30+
delete_branch: true
31+
commit: ~
32+
33+
patterns:
34+
- files:
35+
- .markdownlintrc
36+
repositories:
37+
- devops-roast/containers

.github/workflows/files-sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ on:
1212
- "main"
1313

1414
jobs:
15-
release:
15+
sync-files:
1616
uses: devops-roast/github-actions/.github/workflows/sync-files.yaml@main
1717
secrets: inherit

.markdownlintrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"default": true,
3+
"first-header-h1": false,
4+
"first-line-h1": false,
5+
"line_length": false,
6+
"no-multiple-blanks": false,
7+
"fenced-code-language": true,
8+
"no-duplicate-header": {
9+
"siblings_only": true
10+
},
11+
"code-block-style": {
12+
"style": "fenced"
13+
},
14+
"MD033": {
15+
"allowed_elements": [
16+
"details",
17+
"summary"
18+
]
19+
}
20+
}

0 commit comments

Comments
 (0)