Skip to content

Commit 9ee1bf9

Browse files
committed
Squashed '.firmwareci/' content from commit 62e0b17
git-subtree-dir: .firmwareci git-subtree-split: 62e0b177a7ee212935f34cf77140cb145d4c39ac
0 parents  commit 9ee1bf9

24 files changed

Lines changed: 972 additions & 0 deletions

.commitlint.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'header-max-length': [0, 'always', 72],
5+
'body-max-line-length': [2, 'always', 120],
6+
'footer-max-line-length': [2, 'always', 120],
7+
},
8+
}

.cspell.json

Lines changed: 224 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,224 @@
1+
{
2+
"ignorePaths": [
3+
"**/*.defconfig",
4+
"**/.git/**",
5+
"**/node_modules/**",
6+
"**/vscode-extension/**",
7+
".cspell.json",
8+
".editorconfig",
9+
".flake8",
10+
".github/dependabot.yml",
11+
".github/workflows/documentation-pages.yml",
12+
".gitignore",
13+
".goreleaser.yaml",
14+
".mega-linter.yml",
15+
".pylintrc",
16+
".ruff.toml",
17+
".trivy.yaml",
18+
".vscode",
19+
"CHANGELOG.md",
20+
"Taskfile.yml",
21+
"cmd/firmware-action/.golangci.yml",
22+
"docker/**",
23+
"docs/book.toml",
24+
"docs/mdbook-admonish.css",
25+
"docs/theme/index.hbs",
26+
"docs/theme/pagetoc.css",
27+
"docs/theme/pagetoc.js",
28+
"go.mod",
29+
"go.sum",
30+
"megalinter",
31+
"package-lock.json",
32+
"pyproject.toml",
33+
"report",
34+
"requirements.txt",
35+
"shell-completion/firmware-action.bash",
36+
"shell-completion/firmware-action.fish",
37+
"shell-completion/firmware-action.zsh",
38+
"tests/**"
39+
],
40+
"language": "en",
41+
"noConfigSearch": true,
42+
"words": [
43+
"BOOTLOADER",
44+
"BUILDGCC",
45+
"CODEOWNERS",
46+
"CPUS",
47+
"GOARCH",
48+
"HEALTHCHECK",
49+
"Hadolint",
50+
"IPXE",
51+
"KERNELVERSION",
52+
"Kortumstraße",
53+
"NOTSET",
54+
"Olimex",
55+
"PYTHONPATH",
56+
"REPOPATH",
57+
"STDLIB",
58+
"TARGETARCH",
59+
"TOOLSDIR",
60+
"Taskfile",
61+
"Truef",
62+
"acpica",
63+
"addinivalue",
64+
"addoption",
65+
"autobuild",
66+
"automerge",
67+
"autopep",
68+
"blkio",
69+
"bsdmainutils",
70+
"cachebuster",
71+
"cbfstool",
72+
"cffinit",
73+
"clusterfuck",
74+
"cmds",
75+
"cocogitto",
76+
"commitlint",
77+
"compileall",
78+
"complgen",
79+
"composefile",
80+
"coreboot",
81+
"coreinfo",
82+
"covermode",
83+
"coverprofile",
84+
"cpio",
85+
"crossgcc",
86+
"daggerci",
87+
"defconfig",
88+
"delenv",
89+
"devel",
90+
"dirpath",
91+
"distclean",
92+
"dockerfile",
93+
"dockerfiles",
94+
"dockerhub",
95+
"dooper",
96+
"dotconfig",
97+
"dpkg",
98+
"dutctl",
99+
"edkii",
100+
"elementscyberops",
101+
"elif",
102+
"emeraldlake",
103+
"endgroup",
104+
"endswith",
105+
"exitcode",
106+
"filenamify",
107+
"fwci",
108+
"githubaction",
109+
"githubactions",
110+
"gocyclo",
111+
"gofmt",
112+
"gofumpt",
113+
"golangci",
114+
"gorecurcopy",
115+
"goreleaser",
116+
"iasl",
117+
"ifdtool",
118+
"inargs",
119+
"iptable",
120+
"iucode",
121+
"kbuild",
122+
"kconfig",
123+
"kernelbuild",
124+
"levelname",
125+
"libelf",
126+
"libncurses",
127+
"libnss",
128+
"linuxboot",
129+
"logdir",
130+
"mainboard",
131+
"mainboarddir",
132+
"mapfile",
133+
"markdownlint",
134+
"megalinter",
135+
"menuconfig",
136+
"mktemp",
137+
"modifyitems",
138+
"mountpoint",
139+
"multilib",
140+
"nasm",
141+
"naturalsize",
142+
"nolint",
143+
"noninteractive",
144+
"nonosi",
145+
"nproc",
146+
"nvramcui",
147+
"olddefconfig",
148+
"opencontainers",
149+
"oxsecurity",
150+
"pacman",
151+
"pipefail",
152+
"pwsh",
153+
"pyaload",
154+
"pylint",
155+
"pytest",
156+
"rdparty",
157+
"readarray",
158+
"relpath",
159+
"remotelab",
160+
"rootdir",
161+
"runslow",
162+
"rustup",
163+
"savedefconfig",
164+
"seabios",
165+
"setenv",
166+
"sethvargo",
167+
"setuptools",
168+
"shellcheck",
169+
"skipframes",
170+
"sloglint",
171+
"splitext",
172+
"startswith",
173+
"staticcheck",
174+
"stmsg",
175+
"tailscale",
176+
"testregex",
177+
"textfile",
178+
"tianocore",
179+
"tinyconfig",
180+
"tokeninternal",
181+
"tzdata",
182+
"uboot",
183+
"uefi",
184+
"uroot",
185+
"vmlinux",
186+
"wagoid",
187+
"workdir",
188+
"worktree",
189+
"xgcc"
190+
],
191+
"ignoreWords": [
192+
"Eeuo",
193+
"Kengo",
194+
"Ovmf",
195+
"TODA",
196+
"aarch",
197+
"agrc",
198+
"alecthomas",
199+
"anyio",
200+
"bugbundle",
201+
"coveragerc",
202+
"dawidd",
203+
"defaultsh",
204+
"dorny",
205+
"dumpversion",
206+
"edksetup",
207+
"genqlient",
208+
"gnueabi",
209+
"heimdalr",
210+
"hhmmss",
211+
"htmlcov",
212+
"jedib",
213+
"ldflags",
214+
"mypy",
215+
"opengrabeso",
216+
"prettytable",
217+
"stretchr",
218+
"unxz",
219+
"userdocs",
220+
"wholename",
221+
"xvzf"
222+
],
223+
"version": "0.2"
224+
}

.editorconfig

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# EditorConfig: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
charset = utf-8
10+
indent_style = tab
11+
12+
[*.py]
13+
indent_style = space
14+
indent_size = 4
15+
16+
[*.{json,yml,yaml,js,mjs,css}]
17+
indent_style = space
18+
indent_size = 2
19+
20+
[Dockerfile]
21+
indent_style = space
22+
indent_size = 4
23+
24+
[*.{md,pylintrc,j2}]
25+
indent_style = unset
26+
indent_size = unset
27+
generated_code = true
28+

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Documentation at:
2+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
3+
4+
# Assign the entire repository (default ownership)
5+
* vojtech.vesely@9elements.com patrik.tesarik@9elements.com

.github/dependabot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
# To get started with Dependabot version updates, you'll need to specify which
3+
# package ecosystems to update and where the package manifests are located.
4+
# Please see the documentation for all configuration options:
5+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "daily"
13+
time: "00:00"
14+
groups:
15+
github:
16+
update-types:
17+
- "minor"
18+
- "patch"
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
# Auto-merging
3+
name: "auto-merge"
4+
5+
on:
6+
pull_request_target:
7+
types: [opened, synchronize, reopened, ready_for_review]
8+
9+
permissions: read-all
10+
11+
jobs:
12+
# Enable auto-merge on all pull requests by default
13+
# Docs: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request
14+
enable-auto-merge:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: write
18+
pull-requests: write
19+
continue-on-error: true
20+
if: github.event.pull_request.draft == false
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v6
24+
- name: Enable pull request auto-merge
25+
run: |
26+
gh pr merge --auto "${{ github.event.pull_request.number }}"
27+
env:
28+
GH_TOKEN: ${{ secrets.GH_PAT_AUTOMERGE }}
29+
30+
# If PR is made by dependabot, automatically approve the PR
31+
# Linting and all checks will still have to pass in order for the PR to be merged
32+
# Docs: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#approve-a-pull-request
33+
auto-approve-dependabot:
34+
runs-on: ubuntu-latest
35+
permissions:
36+
pull-requests: write
37+
continue-on-error: true
38+
if: github.event.pull_request.draft == false
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@v6
42+
- name: Auto approve dependabot pull requests
43+
if: ${{ github.actor == 'dependabot[bot]' }}
44+
run: |
45+
gh pr review "${{ github.event.pull_request.number }}" --approve
46+
env:
47+
GH_TOKEN: ${{ secrets.GH_PAT_AUTOMERGE }}

.github/workflows/bot--labeler.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
# Docs: https://github.com/actions/labeler
3+
name: "labeler"
4+
5+
on:
6+
- pull_request_target
7+
8+
permissions: read-all
9+
10+
jobs:
11+
labeler:
12+
permissions:
13+
pull-requests: write
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Run labeler
17+
uses: actions/labeler@v6

0 commit comments

Comments
 (0)