detached 1f891be

ci: add GitHub Actions CI and dependabot auto-merge

- Add CI workflow with svelte-check, lint, and build
- Add dependabot auto-merge for minor/patch updates
- Update .node-version from 20.11.0 to 22
- Add packageManager field to enforce pnpm 10.25.0 via Corepack
commit
1f891be02cc22baea7072e21e4d1a5f49c4ca01a
author
Kit · · 2025-12-15 06:31 UTC
parent
c1ee1ec
signature
SSH UnverifiedSHA256:3RGv7q1rcg0JUU2CjMAhwZcyGvcCDmFuxQQT8Z18wLA · arch-ssh This key is not trusted for the committer email
4 files · +51 -2
A .github/workflows/ci.yml +23 -0
@@ -0,0 +1,23 @@
1+name: CI
2+
3+on:
4+ push:
5+ branches: [main]
6+ pull_request:
7+ branches: [main]
8+
9+jobs:
10+ check:
11+ runs-on: ubuntu-latest
12+ steps:
13+ - uses: actions/checkout@v5
14+ - uses: pnpm/action-setup@v4
15+ # version comes from packageManager field in package.json
16+ - uses: actions/setup-node@v4
17+ with:
18+ node-version: '22'
19+ cache: 'pnpm'
20+ - run: pnpm install --frozen-lockfile
21+ - run: pnpm run check
22+ - run: pnpm run lint
23+ - run: pnpm run build
@@ -0,0 +1,23 @@
1+name: CI
2+
3+on:
4+ push:
5+ branches: [main]
6+ pull_request:
7+ branches: [main]
8+
9+jobs:
10+ check:
11+ runs-on: ubuntu-latest
12+ steps:
13+ - uses: actions/checkout@v5
14+ - uses: pnpm/action-setup@v4
15+ # version comes from packageManager field in package.json
16+ - uses: actions/setup-node@v4
17+ with:
18+ node-version: '22'
19+ cache: 'pnpm'
20+ - run: pnpm install --frozen-lockfile
21+ - run: pnpm run check
22+ - run: pnpm run lint
23+ - run: pnpm run build
A .github/workflows/dependabot-auto-merge.yml +25 -0
@@ -0,0 +1,25 @@
1+name: Dependabot Auto-merge
2+
3+on:
4+ pull_request:
5+
6+permissions:
7+ contents: write
8+ pull-requests: write
9+
10+jobs:
11+ dependabot:
12+ runs-on: ubuntu-latest
13+ if: github.actor == 'dependabot[bot]'
14+ steps:
15+ - name: Dependabot metadata
16+ id: metadata
17+ uses: dependabot/fetch-metadata@v2
18+ with:
19+ github-token: "${{ secrets.GITHUB_TOKEN }}"
20+ - name: Enable auto-merge for minor/patch
21+ if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
22+ run: gh pr merge --auto --squash "$PR_URL"
23+ env:
24+ PR_URL: ${{ github.event.pull_request.html_url }}
25+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,25 @@
1+name: Dependabot Auto-merge
2+
3+on:
4+ pull_request:
5+
6+permissions:
7+ contents: write
8+ pull-requests: write
9+
10+jobs:
11+ dependabot:
12+ runs-on: ubuntu-latest
13+ if: github.actor == 'dependabot[bot]'
14+ steps:
15+ - name: Dependabot metadata
16+ id: metadata
17+ uses: dependabot/fetch-metadata@v2
18+ with:
19+ github-token: "${{ secrets.GITHUB_TOKEN }}"
20+ - name: Enable auto-merge for minor/patch
21+ if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
22+ run: gh pr merge --auto --squash "$PR_URL"
23+ env:
24+ PR_URL: ${{ github.event.pull_request.html_url }}
25+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
M .node-version +1 -1
@@ -1,1 +1,1 @@
1-20.11.0⏎̸
1+22⏎̸
@@ -1,1 +1,1 @@
1-20.11.0⏎̸1+22⏎̸
M package.json +2 -1
@@ -69,5 +69,6 @@
6969 "uuid": "^11.1.0",
7070 "xp.css": "^0.2.6",
7171 "zod": "^4.1.13"
72- }
72+ },
73+ "packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501"
7374 }
@@ -69,5 +69,6 @@
69 "uuid": "^11.1.0",69 "uuid": "^11.1.0",
70 "xp.css": "^0.2.6",70 "xp.css": "^0.2.6",
71 "zod": "^4.1.13"71 "zod": "^4.1.13"
72- }72+ },
73+ "packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501"
73 }74 }

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 3

Tags 8

↑↓ moveenter openesc close