Skip to content

Migrate workflow to GitHub Actions, modernize TOC script, document PR #18 templates - #19

Merged
ibra-kdbra merged 4 commits into
mainfrom
copilot/update-github-workflow-readme-toc
Feb 6, 2026
Merged

Migrate workflow to GitHub Actions, modernize TOC script, document PR #18 templates#19
ibra-kdbra merged 4 commits into
mainfrom
copilot/update-github-workflow-readme-toc

Conversation

Copilot AI commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Workflow was running on self-hosted runner; script lacked proper error handling and structure; wiki didn't reflect the issue/PR templates added in PR #18.

Workflow (update-readme.yml)

  • runs-on: self-hostedruns-on: ubuntu-latest
  • Added actions/setup-python@v5 step

Script (scripts/order.py)

  • Refactored to use pathlib instead of raw os calls
  • Added proper if __name__ == "__main__": entry point
  • Added error handling with try-except for file operations
  • Modularized into documented functions
  • Added wiki to EXCLUDE set
  • User feedback on stdout (success/no-op)
def main():
    readme_path = Path(README)
    if not readme_path.is_file():
        print(f"Error: {README} not found", file=sys.stderr)
        sys.exit(1)
    try:
        projects = collect_projects('.')
        # ...
    except (OSError, ValueError) as e:
        print(f"Error: {e}", file=sys.stderr)
        sys.exit(1)

Wiki updates

  • Home.md: Added "Issue & PR Templates" section with links
  • Contributing.md: Documented all four issue templates; referenced PR template
  • _Sidebar.md: Added Templates section with direct create-issue links

Housekeeping

  • Added .gitignore for __pycache__/, build dirs, IDE files

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits February 6, 2026 16:41
…e wiki for PR #18 templates

Co-authored-by: ibra-kdbra <135609275+ibra-kdbra@users.noreply.github.com>
Co-authored-by: ibra-kdbra <135609275+ibra-kdbra@users.noreply.github.com>
Co-authored-by: ibra-kdbra <135609275+ibra-kdbra@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub workflow for auto updating README TOC Migrate workflow to GitHub Actions, modernize TOC script, document PR #18 templates Feb 6, 2026
Copilot AI requested a review from ibra-kdbra February 6, 2026 16:45
@ibra-kdbra
ibra-kdbra marked this pull request as ready for review February 6, 2026 19:16
@ibra-kdbra
ibra-kdbra merged commit 2378cc5 into main Feb 6, 2026
1 check passed
@ibra-kdbra
ibra-kdbra deleted the copilot/update-github-workflow-readme-toc branch February 8, 2026 18:45
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