A collection of reusable GitHub Actions workflows and core actions for standardizing development processes across repositories.
This repository follows a six-layer architecture based on Formal Conceptual Models (FCM) that maintains GitHub compatibility while achieving architectural purity:
- Axioms (
axioms/
) - Foundational capabilities defined as FCM models - Logic (
logic/
) - Compositions and relationships between axioms - Patterns (
patterns/
) - Reusable workflow patterns - Mechanics (
mechanics/
) - Implementation templates and operational structures - Reflection (
reflection/
) - Self-awareness and analysis capabilities - Emergence (
emergence/
) - Discovered patterns and emergent capabilities
The repository uses a bridge architecture to maintain GitHub Actions compatibility:
- Source Layer: FCM definitions in
axioms/
,logic/
,patterns/
- Interface Layer: GitHub-compatible actions in
actions/
- Bridge Layer: Automated generation via
.bridge/
tools
This repository uses a naming convention to indicate action source and maintenance:
-
Hyphen naming (
branch-operations
) - Generated from FCM definitions- Maintained by the FCM bridge system
- Regenerated periodically from
axioms/
definitions - Manual changes will be overwritten unless incorporated into the FCM
-
Underscore naming (
branch_operations
) - Manual implementations- Maintained by human developers
- Changes made directly to action files
- Developer responsible for updates and compatibility
Both types follow identical design patterns and functionality - the naming only indicates source and maintenance model.
Atomic operations that can be combined to build custom workflows:
- Version Calculator: Calculate version numbers based on git tags
- Version Updater: Update version references in code and documentation
- Branch Operations: Create, delete, checkout, list, and merge branches
- Tag Operations: Create, delete, push, and list git tags
- Commit Operations: Create, amend, list, cherry-pick and revert git commits
Workflows that combine multiple operations for common tasks:
- Git Operations: Handle git operations including branch and tag management
- Release Notes: Generate release notes from PRs and commits
- Update Changelog: Update changelog based on merged PRs
- Release Operations: Combine tag, branch, and commit operations for comprehensive release management
Ready-to-use GitHub workflows for common development processes:
Creates a release branch and prepares the changelog for release.
Trigger:
Push the tag prep
Actions:
- Creates a release branch
- Moves Unreleased changelog items to a new version section
- Removes the Unreleased section for release
- Creates a PR for review
Usage:
git tag prep
git push origin prep
Automatically updates the changelog when PRs are merged to develop.
Trigger:
PR merged to develop branch
Actions:
- Adds PR to Unreleased section of changelog
- Creates Unreleased section if it doesn't exist
- Maintains changelog formatting
Usage: Automatic - no manual steps required. PR merges to develop trigger the workflow.
The workflows maintain the following changelog format:
# Repository Changelog
*Note: the changes in this log are automatically generated and commited via github actions, modify only if you know what you are doing!*
## **MM/DD/YYYY - Unreleased**
- PR #{number}: {title}
## **[(MM/DD/YYYY) - {version}](https://github.com/{org}/{repo}/releases/tag/{version})**
- PR #{number}: {title}
- Copy the desired workflow files to your repository's
.github/workflows/
directory - For core actions, reference them in your workflows using the
uses
syntax - No additional configuration needed - workflows use repository context for variables
- View capabilities: Browse
axioms/
directories for available FCM definitions - Modify actions: Edit FCM files in
axioms/
, then regenerate using.bridge/generator.py
- Validate consistency: Run
.bridge/validator.py
to ensure alignment - Never edit directly: Actions in
actions/
are generated - changes will be overwritten
# Generate all actions from FCMs
./.bridge/generator.py --generate-all
# Generate specific action
./.bridge/generator.py axioms/git/tag-operations.fcm
# Validate bridge alignment
./.bridge/validator.py
- GitHub repository with develop branch
- Permissions to push tags and create PRs
- Changelog.md file in repository root (will be created if missing)
- Create a feature branch off develop
- Make your changes
- Create a PR to develop
- Changelog will be automatically updated upon merge
See the documentation site for detailed usage examples and API references for all actions and workflows.
MIT License - See LICENSE.md file for details