Skip to content

Conversation

pakrym-oai
Copy link
Collaborator

Auto label issues using codex cli

- Add .github/prompts/issue-labeler.txt with instructions and label taxonomy for Codex-driven labeling.
- Introduce .github/workflows/issue-labeler.yml workflow: on issue opened or 'codex-label', generates prompt from previous issues, invokes Codex, and applies suggested labels.
- Supports auto-labeling for common categories (bug, enhancement, extension, etc.) and trigger removal.
…h CLI

- Streamline workflow to two jobs: label suggestion and label application
- Replace lengthy JS scripting with direct use of openai/codex-action and CLI tools
- Use jq and gh CLI for parsing Codex output and applying/removing labels
- Remove custom prompt generation in favor of static prompt file
- Reduce repeated logic and tighten up error handling/logging
- Add explicit permissions blocks for minimal token
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

…abel application logic, refactor variable usage and array handling for robustness
@pakrym-oai
Copy link
Collaborator Author

@codex review this

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

@pakrym-oai
Copy link
Collaborator Author

@codex review this

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

@pakrym-oai pakrym-oai merged commit c43a561 into main Oct 2, 2025
19 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/add-issue-labeler-workflow branch October 2, 2025 20:39
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 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.

2 participants