Skip to content

Commit 5de5982

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

5 files changed

Lines changed: 124 additions & 15 deletions

File tree

.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: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# Set update schedule for GitHub Actions
21
version: 2
32
updates:
43
- package-ecosystem: "github-actions"
54
directory: "/"
65
schedule:
7-
# Check for updates to GitHub Actions every weekday
8-
interval: "daily"
6+
interval: "weekly"
7+
8+
- package-ecosystem: "devcontainers"
9+
directory: "/"
10+
schedule:
11+
interval: weekly
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Prettier
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- "*"
8+
9+
concurrency:
10+
group: prettier-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
permissions:
14+
contents: write
15+
16+
jobs:
17+
prettier:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v5
23+
with:
24+
persist-credentials: false
25+
26+
- name: Install Prettier and plugins
27+
run: |
28+
npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template
29+
30+
- name: Prettify code
31+
uses: creyD/prettier_action@v4.6
32+
with:
33+
prettier_plugins: "prettier-plugin-sh prettier-plugin-jinja-template"
34+
prettier_options: --write .
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
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+
name: Super Linter
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- "*"
8+
9+
concurrency:
10+
group: super-linter-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
permissions: {}
14+
15+
jobs:
16+
build:
17+
name: Lint
18+
runs-on: ubuntu-latest
19+
20+
permissions:
21+
contents: read
22+
packages: read
23+
# To report GitHub Actions status checks
24+
statuses: write
25+
26+
steps:
27+
- name: Checkout code
28+
uses: actions/checkout@v5
29+
with:
30+
# super-linter needs the full git history to get the
31+
# list of files that changed across commits
32+
fetch-depth: 0
33+
persist-credentials: false
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_GITHUB_ACTIONS_ZIZMOR: false
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_TERRAFORM_TERRASCAN: false
51+
VALIDATE_YAML_PRETTIER: false
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Update copyright year(s) in license file
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 3 1 1 *" # 03:00 AM on January 1
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
update-license-year:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v5
17+
with:
18+
fetch-depth: 0
19+
persist-credentials: false
20+
- name: Action Update License Year
21+
uses: FantasticFiasco/action-update-license-year@v3
22+
with:
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
path: LICENSE.md
25+
- name: Merge pull request
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
run: |
29+
gh pr merge --merge --delete-branch

0 commit comments

Comments
 (0)