detached 676e4cd

ci: wait for CI checks before dependabot auto-merge

commit
676e4cd1110edbc939cd553bf1e5ec82727c0e34
author
Kit · · 2025-12-15 06:39 UTC
committer
Kit · · 2025-12-15 06:39 UTC
parent
267d526
signature
SSH UnverifiedSHA256:3RGv7q1rcg0JUU2CjMAhwZcyGvcCDmFuxQQT8Z18wLA · arch-ssh This key is not trusted for the committer email
3 files · +9 -2
M .github/workflows/ci.yml +1 -1
@@ -23,7 +23,7 @@ jobs:
2323 # version comes from packageManager field in package.json
2424 - uses: actions/setup-node@v4
2525 with:
26- node-version: '22'
26+ node-version: '22.13.0'
2727 cache: 'pnpm'
2828 - run: pnpm install --frozen-lockfile
2929 - run: pnpm run check
@@ -23,7 +23,7 @@ jobs:
23 # version comes from packageManager field in package.json23 # version comes from packageManager field in package.json
24 - uses: actions/setup-node@v424 - uses: actions/setup-node@v4
25 with:25 with:
26- node-version: '22'26+ node-version: '22.13.0'
27 cache: 'pnpm'27 cache: 'pnpm'
28 - run: pnpm install --frozen-lockfile28 - run: pnpm install --frozen-lockfile
29 - run: pnpm run check29 - run: pnpm run check
M .github/workflows/dependabot-auto-merge.yml +7 -0
@@ -6,6 +6,7 @@ on:
66 permissions:
77 contents: write
88 pull-requests: write
9+ checks: read
910
1011 jobs:
1112 dependabot:
@@ -17,6 +18,12 @@ jobs:
1718 uses: dependabot/fetch-metadata@v2
1819 with:
1920 github-token: '${{ secrets.GITHUB_TOKEN }}'
21+ - name: Wait for CI to pass
22+ if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
23+ run: gh pr checks "$PR_URL" --watch --fail-level all
24+ env:
25+ PR_URL: ${{ github.event.pull_request.html_url }}
26+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2027 - name: Enable auto-merge for minor/patch
2128 if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
2229 run: gh pr merge --auto --squash "$PR_URL"
@@ -6,6 +6,7 @@ on:
6 permissions:6 permissions:
7 contents: write7 contents: write
8 pull-requests: write8 pull-requests: write
9+ checks: read
9 10
10 jobs:11 jobs:
11 dependabot:12 dependabot:
@@ -17,6 +18,12 @@ jobs:
17 uses: dependabot/fetch-metadata@v218 uses: dependabot/fetch-metadata@v2
18 with:19 with:
19 github-token: '${{ secrets.GITHUB_TOKEN }}'20 github-token: '${{ secrets.GITHUB_TOKEN }}'
21+ - name: Wait for CI to pass
22+ if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
23+ run: gh pr checks "$PR_URL" --watch --fail-level all
24+ env:
25+ PR_URL: ${{ github.event.pull_request.html_url }}
26+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 - name: Enable auto-merge for minor/patch27 - 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'28 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"29 run: gh pr merge --auto --squash "$PR_URL"
M .node-version +1 -1
@@ -1,1 +1,1 @@
1-22⏎̸
1+22.13.0⏎̸
@@ -1,1 +1,1 @@
1-22⏎̸1+22.13.0⏎̸

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