Skip to content

[codex] Add project advisory PR comments - #227

Merged
Vilin97 merged 1 commit into
mainfrom
codex/project-advisory-comments
Jun 26, 2026
Merged

Vilin97 merged 1 commit into
mainfrom
codex/project-advisory-comments

Conversation

@Vilin97

@Vilin97 Vilin97 commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds an advisory PR comment workflow that posts source-project metadata for each open PR, including drafts. The comment reports the imported project's GitHub-reported license, default-branch last commit date, and source repo lean-toolchain version, then updates the same sticky comment on reruns.

Details

  • Adds lean_pool.pr_advisory, a deterministic GitHub API-based commenter that never checks out or runs PR-head code.
  • Adds a pull_request_target, manual, and scheduled workflow to keep advisory comments current.
  • Adds tests for project-entry detection, source metadata fetching, draft-inclusive PR listing, rendering, and sticky comment updates.

Validation

  • cd python && uv run ruff format --check && uv run ruff check && uv run --group test pytest
  • actionlint
  • Live dry run across open PRs before posting
  • Posted and verified one advisory marker comment on every open PR, including draft PR [import] Kaprekar4 (WIP) #223

Copilot AI review requested due to automatic review settings June 26, 2026 16:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Vilin97
Vilin97 merged commit 30132e0 into main Jun 26, 2026
6 checks passed
@Vilin97
Vilin97 deleted the codex/project-advisory-comments branch June 26, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants