Skip to content

Commit 2dc9c4d

Browse files
committed
chore: synced local '.github/' with remote 'general/.github/'
1 parent 75e03c4 commit 2dc9c4d

File tree

5 files changed

+123
-15
lines changed

5 files changed

+123
-15
lines changed

.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: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# Set update schedule for GitHub Actions
1+
---
22
version: 2
33
updates:
44
- package-ecosystem: "github-actions"
55
directory: "/"
66
schedule:
7-
# Check for updates to GitHub Actions every weekday
8-
interval: "daily"
7+
interval: "weekly"
8+
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
with:
23+
persist-credentials: false
24+
25+
- name: Install Prettier and plugins
26+
run: |
27+
npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template
28+
29+
- name: Prettify code
30+
uses: creyD/[email protected]
31+
with:
32+
prettier_plugins: "prettier-plugin-sh prettier-plugin-jinja-template"
33+
prettier_options: --write .
34+
github_token: ${{ secrets.GITHUB_TOKEN }}
35+
commit_message: "chore(prettier): format code"
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
persist-credentials: false
35+
36+
- name: Install Prettier plugins (for summary formatting)
37+
run: |
38+
npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template || true
39+
40+
- name: Super-linter
41+
uses: super-linter/super-linter@v8
42+
env:
43+
# To report GitHub Actions status checks
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
VALIDATE_JSCPD: false
46+
VALIDATE_JSON_PRETTIER: false
47+
VALIDATE_MARKDOWN_PRETTIER: false
48+
VALIDATE_NATURAL_LANGUAGE: false
49+
VALIDATE_SHELL_SHFMT: false
50+
VALIDATE_TERRASCAN: false
51+
VALIDATE_YAML_PRETTIER: false
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
persist-credentials: false
19+
- name: Action Update License Year
20+
uses: FantasticFiasco/action-update-license-year@v3
21+
with:
22+
token: ${{ secrets.GITHUB_TOKEN }}
23+
path: LICENSE.md
24+
- name: Merge pull request
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
run: |
28+
gh pr merge --merge --delete-branch

0 commit comments

Comments
 (0)