feat(cicd/github-actions): implement the "examples" section generation#113
feat(cicd/github-actions): implement the "examples" section generation#113
Conversation
Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
…mples Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
49ed84e to
f645b49
Compare
Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
Addressed both feedback items:
|
Fixed the failing CLI snapshot test. The issue was that after removing the workflow discovery strategy, the CLI was generating different example content, causing the snapshot to be outdated. Updated the snapshot and all 273 tests across all packages now pass. (commit bb2c1ab) |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #113 +/- ##
==========================================
- Coverage 86.56% 86.14% -0.43%
==========================================
Files 70 71 +1
Lines 4303 4540 +237
Branches 963 1010 +47
==========================================
+ Hits 3725 3911 +186
- Misses 569 620 +51
Partials 9 9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Updated documentation for the examples section implementation: GitHub Actions Template: Added GitHub Actions Package Docs: Enhanced ExamplesSectionGenerator description with details on detection strategies (examples/, .github/examples/, destination file), supported formats (YAML, Markdown), and version replacement functionality (commit b0e870a) |
Co-authored-by: neilime <314088+neilime@users.noreply.github.com> Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
b0e870a to
85fdfa2
Compare
Implementation of examples section generation for GitHub Actions
Completed Work
Recent Changes (Documentation Update)
Updated Documentation for Examples Section
examplessection to the complete template and Available Sections tableExamplesSectionGeneratorand added dedicated section explaining:examples/,.github/examples/, destination file)Implementation Summary
Successfully implemented the
ExamplesSectionGeneratorwith the following features:Multi-Strategy Examples Detection
examples/folder for YAML and Markdown files.github/examples/directory for examplesExamples can be stored in multiple formats:
Version Replacement Logic
@sha-xxx # x.x.x(SHA + tag in comment)./)Testing & Documentation
The examples section is now automatically generated and included in GitHub Actions documentation when examples are found using any of the detection strategies.
Fixes #112.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.