Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/lark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Managed by Lark — propose new tests for each PR diff.
# Docs: https://docs.getlark.ai/
name: Lark — propose tests

on:
pull_request:
types: [opened, reopened]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing synchronize trigger

Medium Severity

The workflow only runs on opened and reopened, but new commits on an open PR emit synchronize. Pushes that change the PR diff therefore never re-run test proposals, despite the workflow describing proposals for each PR diff.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 936b455. Configure here.


permissions:
id-token: write
pull-requests: write
contents: read

jobs:
propose-tests:
# Skip PRs from forks — they cannot mint OIDC tokens with our trusted audience.
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- uses: getlark/lark-github-actions-app@v1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}