Skip to content

Commit b094234

Browse files
authored
chore: synced file(s) with dgibbs64/repo-sync (#134)
* chore: synced local '.github/' with remote 'general/.github/' * chore: synced local './' with remote 'docker/'
1 parent 685e736 commit b094234

13 files changed

+198
-32
lines changed

.checkov.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
skip-check:
2+
- CKV_DOCKER_2
3+
- CKV_DOCKER_3

.devcontainer/devcontainer.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "Docker Dev Container",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4+
"features": {
5+
"ghcr.io/devcontainers-community/npm-features/prettier:1": {},
6+
"ghcr.io/devcontainers-extra/features/actionlint:1": {},
7+
"ghcr.io/devcontainers-extra/features/checkov:1": {},
8+
"ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {},
9+
"ghcr.io/devcontainers-extra/features/shellcheck:1": {},
10+
"ghcr.io/devcontainers-extra/features/yamllint:2": {},
11+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
12+
"ghcr.io/devcontainers/features/github-cli:1": {},
13+
"ghcr.io/dhoeric/features/hadolint:1": {}
14+
},
15+
"customizations": {
16+
"vscode": {
17+
"extensions": [
18+
"DavidAnson.vscode-markdownlint",
19+
"editorconfig.editorconfig",
20+
"esbenp.prettier-vscode",
21+
"exiasr.hadolint",
22+
"github.vscode-github-actions",
23+
"GitHub.vscode-pull-request-github",
24+
"ms-azuretools.vscode-containers",
25+
"redhat.vscode-yaml",
26+
"yzhang.markdown-all-in-one"
27+
]
28+
}
29+
},
30+
"postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
31+
}

.editorconfig

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,13 @@ root = true
55

66
[*]
77
charset = utf-8
8-
indent_style = space
9-
indent_size = 2
10-
trim_trailing_whitespace = true
118
end_of_line = lf
12-
insert_final_newline = true
13-
14-
# YAML Files
15-
[*.{yml,yaml}]
16-
indent_size = 2
17-
18-
# JSON Files
19-
[*.{json,json5,webmanifest}]
209
indent_size = 2
10+
indent_style = space
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
2113

2214
# BASH Files
2315
[*.{.sh}]
24-
indent_style = tab
2516
indent_size = 4
26-
17+
indent_style = tab

.github/FUNDING.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
1-
# These are supported funding model platforms
2-
3-
github: dgibbs64 # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4-
patreon: dgibbs # Replace with a single Patreon username
5-
open_collective: # Replace with a single Open Collective username
6-
ko_fi: # Replace with a single Ko-fi username
7-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
liberapay: # Replace with a single Liberapay username
10-
issuehunt: # Replace with a single IssueHunt username
11-
otechie: # Replace with a single Otechie username
12-
custom: # Replace with a single custom sponsorship URL
1+
github: dgibbs64
2+
patreon: dgibbs

.github/dependabot.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
# Set update schedule for GitHub Actions
21
---
32
version: 2
43
updates:
54
- package-ecosystem: "github-actions"
65
directory: "/"
76
schedule:
8-
# Check for updates to GitHub Actions every weekday
97
interval: "weekly"
8+
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Update Docker Hub Description
2+
on:
3+
workflow_dispatch:
4+
push:
5+
paths:
6+
- README.md
7+
- .github/workflows/dockerhub-description.yml
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
dockerhub-description:
16+
name: Docker Hub Description
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v5
21+
22+
- name: Docker Hub Description
23+
uses: peter-evans/dockerhub-description@v4
24+
with:
25+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
26+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
27+
repository: ${{ secrets.DOCKER_HUB_REPO }}
28+
short-description: ${{ github.event.repository.description }}

.github/workflows/action-prettier.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Prettier
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- "*"
7+
8+
concurrency:
9+
group: prettier-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
permissions:
13+
contents: write
14+
15+
jobs:
16+
prettier:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v5
22+
23+
- name: Install Prettier and plugins
24+
run: |
25+
npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template
26+
27+
- name: Prettify code
28+
uses: creyD/prettier_action@v4.6
29+
with:
30+
prettier_plugins: "prettier-plugin-sh prettier-plugin-jinja-template"
31+
prettier_options: --write .
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
commit_message: "chore(prettier): format code"
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: Super Linter
3+
4+
on:
5+
workflow_dispatch:
6+
push:
7+
branches:
8+
- "*"
9+
10+
concurrency:
11+
group: super-linter-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
permissions: {}
15+
16+
jobs:
17+
build:
18+
name: Lint
19+
runs-on: ubuntu-latest
20+
21+
permissions:
22+
contents: read
23+
packages: read
24+
# To report GitHub Actions status checks
25+
statuses: write
26+
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@v5
30+
with:
31+
# super-linter needs the full git history to get the
32+
# list of files that changed across commits
33+
fetch-depth: 0
34+
35+
- name: Install Prettier plugins (for summary formatting)
36+
run: |
37+
npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template || true
38+
39+
- name: Super-linter
40+
uses: super-linter/super-linter@v8
41+
env:
42+
# To report GitHub Actions status checks
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
VALIDATE_JSCPD: false
45+
VALIDATE_SHELL_SHFMT: false
46+
VALIDATE_YAML_PRETTIER: false
47+
VALIDATE_JSON_PRETTIER: false
48+
VALIDATE_MARKDOWN_PRETTIER: false
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Update copyright year(s) in license file
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 3 1 1 *" # 03:00 AM on January 1
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
update-license-year:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v5
16+
with:
17+
fetch-depth: 0
18+
- name: Action Update License Year
19+
uses: FantasticFiasco/action-update-license-year@v3
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
path: LICENSE.md
23+
- name: Merge pull request
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
run: |
27+
gh pr merge --merge --delete-branch

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@
77
!.vscode/*.code-snippets
88
.history/
99
*.vsix
10+
11+
# Node.js
12+
node_modules

0 commit comments

Comments
 (0)