Skip to content

GitHub Issue Creation Automation

Ticket #146: GitHub issue creation automation from repository workflow
Type: Automation / Process Improvement
Affected Component: scripts/create_github_issue.py, src/github_issue_automation.py, README.md


1. Context

Issue creation was previously manual and inconsistent, especially for non-technical operating workflows. The objective was to standardize and automate ticket creation directly from the repository context.

2. Objective

Provide a reliable command-line workflow that creates GitHub issues in the current repository with:

  • repository detection from origin
  • normalized payload (title, body, labels)
  • explicit failure messages for missing token or unsupported remotes
  • a dry-run mode for safe validation before creating a real issue

3. Implementation delivered

  • Added a dedicated CLI script: scripts/create_github_issue.py
  • Added parsing and API helper module: src/github_issue_automation.py
  • Added README usage documentation in French and English
  • Created and validated a real issue from the automated workflow: #146

4. Operational result

I can now create a GitHub issue from a structured prompt using one command, without opening GitHub manually.

Example command:

python scripts/create_github_issue.py --title "My ticket" --body-file specs/issue_automation_followup.md --labels "enhancement,automation"

5. Governance note

No dedicated tests are maintained for this activity report request, per directive. Existing automation-related test additions were removed from the repository scope for this specific mission.