Skip to content

About

A GitHub Action that collects project-related information by mining repositories for issues, labels, and other metadata. Produces machine-readable data for use in documentation generation and analysis workflows.

Resources

Contributing

Stars

0 stars

Watchers

4 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

129 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Living Documentation Collector for GitHub

Build and Test License

Purpose

A GitHub Action that extracts living documentation from locally checked-out repositories. It is the collect step of a living-documentation pipeline. It writes JSON, in the contracts living-doc-utilities owns, for the downstream living-doc-* tools.

Contents

Overview

  • Documentation Source (doc-source): User Story, Functionality and Feature headers from .feature and PageObject files, as doc-source-v1.0.0 → mode
  • UI Tests (ui-tests): UI test scenarios from .feature scenario blocks, as ui-tests-v1.0.0 → mode
  • Documentation Issues (doc-issues): GitHub Issues as a documentation source; PLANNED, and true fails the run at start → mode
  • Modular: activate only the modes you need; each writes one artifact, validated before it is written → Contracts
  • Deterministic: the same checkouts always give the same records; collection reads only those checkouts.
  • Pipeline-ready: it chains with the other living-doc-* actions → Architecture
  • GitHub Actions first: a step in a workflow is the supported way to run it; a local run is a development and operator-check aid, not a second deployment target → Debug run, Local Integration Run
  • AI-free: collect → normalize → generate is deterministic tooling, with no LLM call anywhere in that path → AI-free Principle
    • The agentic layer in living-doc agentic/ can speed up authoring issues and .feature files.
    • It is never a runtime dependency: a human writing the same input by hand is a fully supported, identical path.

Usage tip

One step that runs both modes over a repository checked out earlier in the job:

- name: Living Documentation Collector for GitHub
  id: living_doc_collector_gh
  uses: AbsaOSS/living-doc-collector-gh@v0.2.0
  with:
    project-id: your-project
    doc-source: true
    doc-source-repositories: |
        [ { "organization-name": "your-organization-name", "repository-name": "your-ui-repository",
            "us-paths": ["/path/to/checkout/your-ui-repository/features/liv_doc_us"] } ]
    ui-tests: true
    ui-tests-repositories: |
        [ { "organization-name": "your-organization-name", "repository-name": "your-ui-repository",
            "paths": ["/path/to/checkout/your-ui-repository/features"] } ]

What the runner needs: Prerequisites. Where the files land: Output layout.

Inputs and outputs

Every input at a glance; required flags, defaults and errors are in the action reference.

  • project-id (required): the project the run documents
  • doc-source, doc-source-repositories: run the Documentation Source mode, and its sources
  • ui-tests, ui-tests-repositories: run the UI Tests mode, and its sources
  • output-path: the output root, ./output/collector-gh by default
  • allow-partial: write without a failed source instead of failing the mode
  • github-server-url: the GitHub server, for source_ref.url permalinks
  • verbose-logging: verbose (debug) logging
  • github-token: unused in this version
  • doc-issues, doc-issues-repositories, doc-issues-project-state-mining: PLANNED, not available in this version

The one output, output-path, is the resolved, absolute output root; each mode writes its artifact under it (Outputs).

Where next

I want to… Read
set every input, read the output, handle an error Action reference
mine user stories, functionalities and features from source files Documentation Source mode
mine UI test scenarios UI Tests mode
know what doc-issues does in this version Documentation Issues mode
write the headers and scenarios this action reads Authoring formats
see what is planned but not built yet Specification
set up the repository, run the gates or a local run, release Developer guide
contribute a change Contributing

Developer Guide

Setup, the quality gates, local runs, versioning, releasing and the documentation rules: DEVELOPER.md.

Contributing

Bug reports, feature requests, branch and pull request conventions, and the AI-free principle: CONTRIBUTING.md. Contributions are welcome: bug fixes, documentation and new features.

License

Apache License 2.0; see LICENSE.

Contact

Questions, bugs and feature requests: the GitHub Issues page. Maintained by ABSA Group Limited.

About

A GitHub Action that collects project-related information by mining repositories for issues, labels, and other metadata. Produces machine-readable data for use in documentation generation and analysis workflows.

Resources

Contributing

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages