Skip to content

Commit 74feb76

Browse files
Merge branch 'main' into tr/cwss-packages-with-escape
2 parents 679546f + fad5cbf commit 74feb76

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PR Review
22

33
# Trusted CHATOPS-ONLY deployment of the consolidated OpenRouter review action
4-
# (lean4repo-utils/review@main). Invoked by a maintainer commenting `/review` on a PR.
4+
# (lean4repo-utils/review@0.3). Invoked by a maintainer commenting `/review` on a PR.
55
# The auto pull_request trigger is intentionally dropped for now.
66
on:
77
issue_comment:
@@ -112,7 +112,7 @@ jobs:
112112
echo "Resolved KB spec_refs: ${spec_refs:-(none)}"
113113
114114
- name: AI review
115-
uses: alexanderlhicks/lean4repo-utils/review@main
115+
uses: alexanderlhicks/lean4repo-utils/review@0.3
116116
with:
117117
github_token: ${{ secrets.GITHUB_TOKEN }}
118118
api_key: ${{ secrets.OPENROUTER_KEY }}

.github/workflows/summary.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: 'PR Summary'
22

3+
# Summary runs on every PR update (open + each new commit). It is SAFE under
4+
# pull_request_target — the OpenRouter secret and write token are in scope even
5+
# for fork PRs — because it never builds or executes PR code: it reads the diff
6+
# and committed source as data, and reads its policy file from the BASE ref (S4).
37
on:
48
pull_request_target:
59
types: [opened, synchronize, reopened]
@@ -9,25 +13,22 @@ concurrency:
913
cancel-in-progress: true
1014

1115
permissions:
12-
contents: read # required: the action checks out the PR head to read the diff
13-
pull-requests: write # required: post/update the summary comment
14-
issues: read # optional: link affected sorries to `proof wanted` issues
16+
contents: read
17+
pull-requests: write
18+
issues: read
1519

1620
jobs:
1721
summarize:
1822
runs-on: ubuntu-latest
19-
timeout-minutes: 20
2023
steps:
2124
- name: Generate PR Summary
22-
uses: alexanderlhicks/lean-summary-workflow@main
25+
uses: alexanderlhicks/lean4repo-utils/summary@0.3
2326
with:
2427
github_token: ${{ secrets.GITHUB_TOKEN }}
2528
api_key: ${{ secrets.OPENROUTER_KEY }}
26-
# model: inherits the action default (deepseek/deepseek-v4-flash).
27-
# Set `model: <openrouter-slug>` here to override for this repo only.
2829
github_repository: ${{ github.repository }}
2930
pr_number: ${{ github.event.pull_request.number }}
30-
additional_instructions_path: 'CONTRIBUTING.md'
3131
validate_title: 'true'
3232
upstream_path: 'ArkLib/ToMathlib/'
33-
# Other optional knobs (reasoning_effort, max_*_diff_chars): see the action README.
33+
# Default model (deepseek/deepseek-v4-flash). additional_instructions_path
34+
# defaults to CONTRIBUTING.md (read from the base ref) when unset.

0 commit comments

Comments
 (0)