Skip to content

Commit f6d4bd3

Browse files
authored
[CI] enable dependabot for GHA workflows (#950)
* chore: add .editorconfig * feat: enable dependabot for GHA workflows
1 parent 7fb0677 commit f6d4bd3

File tree

3 files changed

+52
-23
lines changed

3 files changed

+52
-23
lines changed

.editorconfig

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# https://editorconfig.org/
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_style = space
9+
indent_size = 4
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
[*.{py,pyi}]
14+
indent_size = 4
15+
16+
[*.{cpp,hpp,cxx,cc,c,h,cu,cuh}]
17+
indent_size = 4
18+
19+
[*.{yaml,yml}]
20+
indent_size = 2
21+
22+
[.clang-{format,tidy}]
23+
indent_size = 2
24+
25+
[Makefile]
26+
indent_style = tab
27+
28+
[*.sh]
29+
indent_size = 4
30+
31+
[*.bat]
32+
indent_size = 4
33+
end_of_line = crlf
34+
35+
[*.md]
36+
indent_size = 2
37+
x-soft-wrap-text = true
38+
39+
[*.rst]
40+
indent_size = 4
41+
x-soft-wrap-text = true

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
time: "12:00"
9+
timezone: "Asia/Shanghai"
10+
commit-message:
11+
prefix: "[CI]"

.github/workflows/dependabot.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)