Skip to content

Commit bf004ee

Browse files
Merge branch 'main' into issue4257_PdfAnotation
2 parents cca9e96 + be73b0b commit bf004ee

242 files changed

Lines changed: 5939 additions & 3152 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/hooks/checklist-done-guard.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@
1111
Each must be marked `[x]` (done) or `[/]` (not applicable).
1212
"""
1313
import json
14+
import os
1415
import re
1516
import shlex
1617
import sys
1718
from pathlib import Path
1819

19-
CHECKLIST = Path("CHECKLIST.md")
20+
# Resolve CHECKLIST.md from the project root, not the hook's cwd. Claude Code
21+
# sets CLAUDE_PROJECT_DIR for hook execution; the Bash tool's cwd may be a
22+
# subdirectory, in which case a bare Path("CHECKLIST.md") would not be found
23+
# and the guard would silently skip. Fall back to cwd if the var is unset.
24+
CHECKLIST = Path(os.environ.get("CLAUDE_PROJECT_DIR", ".")) / "CHECKLIST.md"
2025

2126
# Matches "- [x] text", "- [ ] text", "- [.] text", "- [/] text".
2227
ITEM_RE = re.compile(r"^\s*-\s*\[(.)\]\s*(.+?)\s*$")

.claude/settings.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@
66
"hooks": [
77
{
88
"type": "command",
9-
"command": "python .claude/hooks/pr-template-guard.py"
9+
"command": "python \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/pr-template-guard.py\""
1010
},
1111
{
1212
"type": "command",
13-
"command": "python .claude/hooks/git-rebase-guard.py"
13+
"command": "python \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/git-rebase-guard.py\""
1414
},
1515
{
1616
"type": "command",
17-
"command": "python .claude/hooks/pr-policy-tag-guard.py"
17+
"command": "python \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/pr-policy-tag-guard.py\""
1818
},
1919
{
2020
"type": "command",
21-
"command": "python .claude/hooks/commit-msg-heredoc-guard.py"
21+
"command": "python \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/commit-msg-heredoc-guard.py\""
2222
},
2323
{
2424
"type": "command",
25-
"command": "python .claude/hooks/checklist-done-guard.py"
25+
"command": "python \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/checklist-done-guard.py\""
2626
}
2727
]
2828
}

.github/actions/check-formatting/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
run: git -C "${{ inputs.working-directory }}" diff HEAD | tee "${{ inputs.working-directory }}/format.patch"
3939
- name: Upload formatting patch
4040
if: failure()
41-
uses: actions/upload-artifact@v4
41+
uses: actions/upload-artifact@v7
4242
with:
4343
name: ${{ inputs.artifact-name }}
4444
path: ${{ inputs.working-directory }}/format.patch

.github/actions/package/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ runs:
106106
- name: Upload ${{ inputs.component }} packages to GitHub
107107
# background: true
108108
if: ${{ inputs.uploadAsArtifact == 'true' && (inputs.archivePortable != 'NONE') }}
109-
uses: actions/upload-artifact@v6
109+
uses: actions/upload-artifact@v7
110110
with:
111111
name: ${{ inputs.componentShort }} (${{ inputs.displayName }})
112112
path: |
@@ -145,7 +145,7 @@ runs:
145145
- name: Upload ShadowJar to GitHub
146146
# background: true
147147
if: ${{ (inputs.uploadAsArtifact == 'true') && (inputs.os == 'ubuntu-22.04') }}
148-
uses: actions/upload-artifact@v6
148+
uses: actions/upload-artifact@v7
149149
with:
150150
name: ${{ inputs.componentShort }} (${{ inputs.displayName }}) (shadowJar)
151151
path: |
@@ -185,9 +185,9 @@ runs:
185185
- name: Upload jbundle artifact to GitHub
186186
# background: true
187187
if: ${{ (inputs.os == 'ubuntu-22.04') && (inputs.uploadAsArtifact == 'true') && (inputs.shouldJbundle == 'true') }}
188-
uses: actions/upload-artifact@v6
188+
uses: actions/upload-artifact@v7
189189
with:
190-
name: jbundle-${{ inputs.displayName }}
190+
name: jbundle-${{ inputs.componentShort }}-${{ inputs.displayName }}
191191
path: build/jbundle/${{ inputs.componentShort }}*
192192
- name: Upload jbundle artifact to builds.jabref.org
193193
# background: true

.github/actions/setup-gradle/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@ runs:
2121
distribution: ${{ inputs.distribution }}
2222
check-latest: true
2323
- name: Setup Gradle
24-
uses: gradle/actions/setup-gradle@v5
24+
uses: gradle/actions/setup-gradle@v6
2525
with:
2626
gradle-version: current
2727
env:
2828
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: false
29-
- name: Setup TestLens
30-
uses: testlens-app/setup-testlens@v1.8.0
3129
- name: Generate JBang cache key
3230
id: cache-key
3331
shell: bash

.github/dependabot.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,50 @@ updates:
1717
- dependency-name: com.microsoft.azure:applicationinsights-logging-log4j2
1818
versions:
1919
- ">= 2.5.a" # Blocked by https://github.com/microsoft/ApplicationInsights-Java/issues/1155
20+
2021
- package-ecosystem: "github-actions"
2122
directory: "/"
2223
schedule:
2324
interval: weekly
2425
day: wednesday
2526
labels: [ ]
27+
- package-ecosystem: "github-actions"
28+
directory: ".github/actions/check-formatting"
29+
schedule:
30+
interval: weekly
31+
day: wednesday
32+
labels: [ ]
33+
- package-ecosystem: "github-actions"
34+
directory: ".github/actions/format-java"
35+
schedule:
36+
interval: weekly
37+
day: wednesday
38+
labels: [ ]
39+
- package-ecosystem: "github-actions"
40+
directory: ".github/actions/jbang-check"
41+
schedule:
42+
interval: weekly
43+
day: wednesday
44+
labels: [ ]
45+
- package-ecosystem: "github-actions"
46+
directory: ".github/actions/package"
47+
schedule:
48+
interval: weekly
49+
day: wednesday
50+
labels: [ ]
51+
- package-ecosystem: "github-actions"
52+
directory: ".github/actions/pr-gate"
53+
schedule:
54+
interval: weekly
55+
day: wednesday
56+
labels: [ ]
57+
- package-ecosystem: "github-actions"
58+
directory: ".github/actions/setup-gradle"
59+
schedule:
60+
interval: weekly
61+
day: wednesday
62+
labels: [ ]
63+
2664
- package-ecosystem: "gitsubmodule"
2765
directory: "/"
2866
schedule:

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
USER: ${{ github.event.pull_request.user.login }}
1515
TITLE: ${{ github.event.pull_request.title }}
1616
steps:
17-
- uses: awalsh128/cache-apt-pkgs-action@latest
17+
- uses: awalsh128/cache-apt-pkgs-action@v1.6.1
1818
with:
1919
packages: jq
2020
version: 1.0

.github/workflows/binaries.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ jobs:
429429
url: ${{ steps.url.outputs.url }}
430430
steps:
431431
- name: Fetch all history for all tags and branches
432-
uses: actions/checkout@v6
432+
uses: actions/checkout@v7
433433
with:
434434
fetch-depth: 0
435435
show-progress: 'false'
@@ -494,7 +494,7 @@ jobs:
494494
name: ${{ matrix.displayName }} installer and portable version
495495
steps:
496496
- name: Checkout
497-
uses: actions/checkout@v6
497+
uses: actions/checkout@v7
498498
with:
499499
fetch-depth: 1
500500
submodules: 'true'
@@ -629,7 +629,7 @@ jobs:
629629
branch: main
630630
- name: Install pigz and cache (Linux)
631631
if: startsWith(matrix.os, 'ubuntu')
632-
uses: awalsh128/cache-apt-pkgs-action@latest
632+
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
633633
with:
634634
packages: pigz
635635
version: 1.0

.github/workflows/check-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# Does not work on ubuntu-slim
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/checkout@v6
28+
- uses: actions/checkout@v7
2929
with:
3030
show-progress: 'false'
3131
- name: Run linkspector

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
actions: read # Required for Claude to read CI results on PRs
3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v6
36+
uses: actions/checkout@v7
3737
with:
3838
fetch-depth: 1
3939

0 commit comments

Comments
 (0)