Skip to content

Conversation

@pakrym-oai
Copy link
Collaborator

Closes stale PRs from OpenAI employees.

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +25 to +26
const dryRun = true;
const stalePrs = [];
Copy link
Contributor

Choose a reason for hiding this comment

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

P1 Badge Remove hard-coded dry run flag

The workflow is supposed to close stale contributor PRs, but const dryRun = true; means the loop later always hits the dry-run branch (if (dryRun) { … continue; }) and never executes the comment/close calls. As a result the scheduled job will only log “Would close …” and never actually close anything, so the automation described in the commit message is completely non-functional until the flag is flipped or made configurable.

Useful? React with 👍 / 👎.

Copy link
Collaborator

@etraut-openai etraut-openai left a comment

Choose a reason for hiding this comment

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

Thanks for doing this. It looks good to me, but I think it's worth considering extending from 7 to 14 days.

@pakrym-oai pakrym-oai merged commit 6cda3de into main Nov 13, 2025
23 of 24 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/close-stale-prs-workflow branch November 13, 2025 18:01
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants