Add themes in-tree

This commit is contained in:
Dave Gallant
2024-01-07 08:49:07 -05:00
parent a5a09666f5
commit 604f3aaa4c
158 changed files with 19674 additions and 47 deletions

View File

@@ -0,0 +1,40 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"rebaseWhen": "behind-base-branch",
"npm": {
"fileMatch": ["(^|/)package\\.hugo\\.json$"],
"rangeStrategy": "bump",
"updateLockFiles": false,
"ignoreTests": true,
"ignorePaths": [
"package.json",
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/examples/**",
"**/__tests__/**",
"**/test/**",
"**/tests/**",
"**/__fixtures__/**"
]
},
"gomod": {
"fileMatch": ["(^|/)go\\.mod$"],
"rangeStrategy": "bump",
"ignoreTests": true
},
"packageRules": [
{
"extends": "packages:linters",
"groupName": "linters"
},
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true,
"automergeType": "branch"
}
]
}

View File

@@ -0,0 +1,39 @@
on:
push:
branches:
- main
jobs:
update_hugo_dependencies:
name: Update Hugo Dependencies
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.111.3"
extended: true
- name: Write composite package.json
run: hugo mod npm pack
- name: Install npm Packages
run: npm install
- name: Display Changes
run: git status
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update Hugo Dependencies