2.7 KiB
2.7 KiB
.github Directory
Last updated: 2025-01-27
Purpose
The .github/ directory contains Gitea Actions workflows, issue templates, and documentation for repository automation and maintenance.
Note: Gitea Actions is compatible with GitHub Actions, so workflows use the same YAML format and .github/ directory structure.
Contents
Workflows (workflows/)
Gitea Actions workflows that automate various aspects of the repository:
kb-lint.yml- Validates KB file naming, frontmatter, and structurekb-index-update.yml- Auto-updates KB index on push to main when KB files change
Documentation
README.md(this file) - Overview of .github directory structure and purposeCHANGELOG.md- Tracks all changes to workflows and .github folderdecisions.md- Documents decisions about workflows, automation, and Gitea ActionsLLM-Usage-Guide--tendril.md- LLM instructions for this repository's workflows and automation
Workflow Overview
KB Lint
- Triggers: Push and pull requests when
kb/**/*.mdfiles change - Purpose: Validates KB file naming, frontmatter, and structure
- Output: Pass/fail validation results
KB Index Update
- Triggers: Push to
mainbranch whenkb/**/*.mdfiles change - Purpose: Automatically regenerates
kb/_index.mdwhen KB files are added or modified - Output: Updated
kb/_index.mdfile committed to repository
Maintenance
When Adding New Workflows
- Update
CHANGELOG.md- Document the new workflow and its purpose - Update
decisions.md- Document why this workflow was added - Update this README - Add workflow to the overview section
- Update
LLM-Usage-Guide--tendril.md- Add instructions for the new workflow
When Modifying Existing Workflows
- Update
CHANGELOG.md- Document what changed and why - Update
decisions.md- Document the decision behind the change - Test workflow - Verify changes work as expected
- Update documentation - Ensure README and LLM guide reflect changes
When Removing Workflows
- Update
CHANGELOG.md- Document removal and reason - Update
decisions.md- Document why workflow was removed - Update this README - Remove from overview
- Update
LLM-Usage-Guide--tendril.md- Remove references
Gitea Platform Notes
- Repository: https://git.parkingmeter.info/Mycelium/tendril
- Platform: Gitea (self-hosted)
- Actions System: Gitea Actions (compatible with GitHub Actions format)
- Documentation: See
docs/GITEA/Gitea-Actions-Guide.mdfor Gitea-specific guidance
Location: .github/
Maintained by: Tendril Project Team