-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 1.26 KB
/
Copy pathproof-bot.yml
File metadata and controls
34 lines (28 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Proof Bot
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
proof-bot:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'needs-proof-boost')
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Lean
uses: leanprover/lean-action@v1
- name: Run Proof Bot
run: |
echo "Proof bot assistance requested for PR #${{ github.event.pull_request.number }}"
echo "This PR has been labeled with 'needs-proof-boost'"
echo "DSP assistance will be provided for formal verification tasks"
- name: Comment on PR
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '🤖 **Proof Bot Activated**\n\nThis PR has been flagged for DSP assistance with formal verification. The proof bot will help with:\n\n- Identifying incomplete proofs\n- Suggesting proof strategies\n- Providing automated proof assistance\n- Code review for formal correctness\n\nPlease wait while the bot analyzes your code...'
})