Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Setup putior CI/CD

Skill Verifiziert Aktiv
Teil von:Agent Almanac

Set up GitHub Actions CI/CD to automatically regenerate putior workflow diagrams on push. Covers workflow YAML creation, R script for diagram generation with sentinel markers, auto-commit of updated diagrams, and README sentinel integration for in-place diagram updates. Use when workflow diagrams should always reflect the current state of the code, when multiple contributors may change workflow-affecting code, or when replacing manual diagram regeneration with an automated CI/CD pipeline.

Zweck

Automate the regeneration of workflow diagrams to ensure they always reflect the current state of the code, especially in collaborative environments or when replacing manual processes.

Funktionen

  • GitHub Actions workflow YAML creation
  • R script for diagram generation with sentinel markers
  • Auto-commit of updated diagrams
  • README sentinel integration for in-place diagram updates
  • Customizable source directories and branches

Anwendungsfälle

  • When workflow diagrams must always match the code.
  • For projects with CI/CD seeking automated documentation updates.
  • In multi-contributor environments changing workflow-affecting code.
  • To replace manual diagram regeneration with an automated pipeline.

Nicht-Ziele

  • Manual diagram generation.
  • Diagrams unrelated to the R code's workflow annotations.
  • Integration with CI/CD systems other than GitHub Actions.

Workflow

  1. Create GitHub Actions workflow YAML
  2. Write R script for diagram generation and update
  3. Configure auto-commit with necessary permissions and guards
  4. Add sentinel markers to the target file (e.g., README.md)
  5. Test the pipeline by triggering a commit and verifying diagram updates

Praktiken

  • Workflow automation
  • CI/CD setup
  • Documentation synchronization

Voraussetzungen

  • GitHub repository with putior annotations in source files
  • Target file for diagram output (e.g., README.md, docs/workflow.md)
  • R environment with 'putior' and 'r-lib/actions/setup-r' installed

Installation

/plugin install agent-almanac@pjt222-agent-almanac

Qualitätspunktzahl

Verifiziert
98 /100
Analysiert about 20 hours ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne14
LizenzMIT
Status
Quellcode ansehen