Skip to content

Commit 763dbca

Browse files
authored
chore: synced file(s) with dgibbs64/repo-sync (#78)
* chore: synced local '.github/' with remote 'general/.github/' * chore: synced local './' with remote 'docker/'
1 parent 964e79c commit 763dbca

File tree

9 files changed

+104
-32
lines changed

9 files changed

+104
-32
lines changed

.devcontainer/devcontainer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
},
14+
"customizations": {
15+
"vscode": {
16+
"extensions": [
17+
"DavidAnson.vscode-markdownlint",
18+
"editorconfig.editorconfig",
19+
"esbenp.prettier-vscode",
20+
"github.vscode-github-actions",
21+
"GitHub.vscode-pull-request-github",
22+
"ms-azuretools.vscode-containers",
23+
"redhat.vscode-yaml",
24+
"yzhang.markdown-all-in-one"
25+
]
26+
}
27+
},
28+
"postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
29+
}

.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 }}
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

.prettierrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"plugins": ["prettier-plugin-sh"]
2+
"plugins": ["prettier-plugin-sh", "prettier-plugin-jinja-template"]
33
}

.vscode/extensions.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"recommendations": [
3-
"editorconfig.editorconfig",
4-
"esbenp.prettier-vscode"
5-
]
2+
"recommendations": [
3+
"editorconfig.editorconfig",
4+
"esbenp.prettier-vscode",
5+
"github.vscode-github-actions"
6+
]
67
}

0 commit comments

Comments
 (0)