Compare commits

..
3 Commits
Author SHA1 Message Date
Karl-Einar Bergstrøm d97665b40e Merge pull request 'chore: Configure Renovate' (#2) from renovate/configure into main
Reviewed-on: #2
2026-10-12 21:32:12 +02:00
renovate-bot Bot c36a30e672 chore(deps): add renovate.json
CI / StyLua (pull_request) Successful in 5s
CI / Smoke test (Neovim 0.12.5) (pull_request) Successful in 6s
CI / Smoke test (Neovim 0.11.7) (pull_request) Successful in 5s
2026-10-12 19:30:15 +00:00
keb e5740bada3 Initial commit 2026-10-12 19:26:53 +02:00
2 changed files with 6 additions and 40 deletions

No files matched your search

-40
View File
@@ -1,40 +0,0 @@
name: PR title
# Pull requests are squash-merged, so the title becomes the commit on main:
# it must start with a conventional commit type, so that release notes can
# be written from main's history (git-cliff, as lazysecrets does). Brackets
# and a missing space are fine too.
#
# feat: SOPS and .env files in git repos
# fix(search): ctrl+r with empty results loads the scope
# feat!: rename config keys (! marks a breaking change)
# [feat] install with a one-liner
# [fix]: hide values on blur
# docs:split the README
on:
pull_request:
branches: [main]
types: [opened, edited, reopened, synchronize]
jobs:
title:
name: Conventional title
runs-on: ubuntu-latest
steps:
- name: Check the title
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
types='feat|fix|perf|refactor|docs|test|ci|chore|build|style|revert'
scope='(\([a-z0-9._/-]+\))?'
if [[ "$TITLE" =~ ^\[($types)$scope!?\]!?:?[[:space:]]*(.*)$ ]] ||
[[ "$TITLE" =~ ^($types)$scope!?:[[:space:]]*(.*)$ ]]; then
what="${BASH_REMATCH[3]}"
fi
if [[ "${what:-}" =~ [^[:space:]] ]]; then
echo "ok: $TITLE"
else
echo "::error::The title should start with a type, like \"feat: what changed\" or \"[feat] what changed\"; types: ${types//|/, }. Got: $TITLE"
exit 1
fi
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>keb/renovate"
]
}