Skip to content

Add reusable Codex workflow templates#25

Merged
haasonsaas merged 3 commits intomainfrom
codex/org-workflow-templates
Apr 29, 2026
Merged

Add reusable Codex workflow templates#25
haasonsaas merged 3 commits intomainfrom
codex/org-workflow-templates

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Summary

  • add org workflow templates for Codex PR review, CI triage, post-merge verification, and label churn audits
  • add copyable Codex prompts for PR review, CI failures, label churn, local traffic, and post-merge checks
  • document downstream adoption and OPENAI_API_KEY expectations

Test Plan

  • ruby -e 'require "yaml"; ARGV.each { |f| YAML.load_file(f); puts "ok #{f}" }' .github/workflow-templates/.yml .github/workflows/.yml\n- ruby -e 'require "json"; ARGV.each { |f| JSON.parse(File.read(f)); puts "ok #{f}" }' .github/workflow-templates/.properties.json\n- ruby -Itest -e 'ARGV.each { |path| require "./#{path}" }' test/_test.rb\n- git diff --check

@cursor
Copy link
Copy Markdown

cursor Bot commented Apr 29, 2026

PR Summary

Medium Risk
Adds new GitHub Actions workflows that can post comments and, in the CI triage lane, write to the repo workspace; misconfiguration could create noisy automation or unintended write access, though changes are isolated to workflow templates and docs.

Overview
Adds new Codex prompt playbooks under .github/codex/prompts/ for PR review, CI failure triage, post-merge verification, label-churn audits, and local traffic/tracing investigations.

Introduces four new workflow templates under .github/workflow-templates/ that run openai/codex-action@v1 to (1) comment automated PR review findings, (2) capture failed run evidence and optionally comment a triage summary, (3) periodically or manually summarize default-branch health, and (4) audit label churn by collecting issue events and label-related workflow references.

Updates README.md with downstream adoption instructions and the required OPENAI_API_KEY secret expectation.

Reviewed by Cursor Bugbot for commit 2abba64. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread .github/workflow-templates/codex-pr-review.yml
Comment thread .github/workflow-templates/codex-post-merge-verify.yml
@haasonsaas haasonsaas merged commit 724daea into main Apr 29, 2026
4 checks passed
@haasonsaas haasonsaas deleted the codex/org-workflow-templates branch April 29, 2026 03:55
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.

Reviewed by Cursor Bugbot for commit a071a76. Configure here.

Comment thread .github/workflow-templates/codex-label-churn-audit.yml
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.

1 participant