Bump actions/checkout from 4 to 7 #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v7 | |
| - 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...' | |
| }) |