Skip to content

Commit 3eed87b

Browse files
authored
Merge branch 'main' into star-identifier
2 parents a1ff795 + c414e47 commit 3eed87b

File tree

327 files changed

+109174
-4064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

327 files changed

+109174
-4064
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.github/workflows/deploy.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Deploy repository to Github Pages
2+
3+
on:
4+
push:
5+
branches: [main, stable]
6+
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-22.04
19+
steps:
20+
- name: Checkout main
21+
uses: actions/checkout@v2
22+
with:
23+
path: main
24+
ref: main
25+
fetch-depth: "0"
26+
- run: |
27+
cd main
28+
./build_site.sh ../_site/stable
29+
- name: Checkout dev
30+
uses: actions/checkout@v2
31+
with:
32+
path: dev
33+
# change this ref to whatever dev branch/tag we need when necessary
34+
ref: main
35+
fetch-depth: "0"
36+
- run: |
37+
cd dev
38+
../main/build_site.sh ../_site/develop
39+
- uses: actions/upload-pages-artifact@v3
40+
41+
deploy:
42+
environment:
43+
name: github-pages
44+
url: ${{ steps.deployment.outputs.page_url }}
45+
runs-on: ubuntu-22.04
46+
needs: build
47+
steps:
48+
- name: Deploy to GitHub Pages
49+
id: deployment
50+
uses: actions/deploy-pages@v4

.github/workflows/validate.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Validate Plugins
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'plugins/**'
8+
- 'themes/**'
9+
pull_request:
10+
branches: [main]
11+
paths:
12+
- 'plugins/**'
13+
- 'themes/**'
14+
15+
jobs:
16+
validate:
17+
runs-on: ubuntu-22.04
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: '20.x'
23+
- run: cd ./validator && yarn install --frozen-lockfile
24+
- run: node ./validate.js --ci

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/_site
2+
node_modules
3+
dist

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["redhat.vscode-yaml", "esbenp.prettier-vscode"]
3+
}

.vscode/settings.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"yaml.validate": true,
3+
"yaml.disableAdditionalProperties": true,
4+
"yaml.completion": true,
5+
"yaml.extension.recommendations": true,
6+
"yaml.hover": true,
7+
"yaml.format.singleQuote": false,
8+
"yaml.format.printWidth": 120,
9+
"yaml.format.proseWrap": "always",
10+
"yaml.schemas": {
11+
"schema/plugin.schema.json": ["/plugins/**", "/themes/**"]
12+
},
13+
"[json]": {
14+
"editor.defaultFormatter": "esbenp.prettier-vscode"
15+
},
16+
"[jsonc]": {
17+
"editor.defaultFormatter": "esbenp.prettier-vscode"
18+
},
19+
"[yaml]": {
20+
"editor.defaultFormatter": "esbenp.prettier-vscode"
21+
}
22+
}

0 commit comments

Comments
 (0)