Getting Started with Deepworks Actions
This guide will help you understand and implement Deepworks GitHub Actions workflows in your repositories.
Architecture Overview
Deepworks Actions use a six-layer FCM architecture with a bridge system:
- Axioms: Core capabilities defined as Formal Conceptual Models
- Generated Actions: GitHub-compatible interfaces automatically generated from axioms
- Bridge System: Ensures consistency between pure definitions and GitHub requirements
Overview
Deepworks Actions provide a suite of reusable workflows for:
- Documentation management with MkDocs
- Release management and versioning
- Changelog automation
- Repository standardization
- Git operations (branches, tags, commits)
- Version calculation and updating
Core Workflows
MkDocs GitHub Pages
Handles documentation deployment:
name: Documentation
jobs:
docs:
uses: deepworks-net/github.actions/.github/workflows/mkdocs-gh-pages.yml@main
Release Management
Manages releases and versioning:
name: Release
jobs:
release:
uses: deepworks-net/github.actions/.github/workflows/release-drafter.yml@main
Changelog Updates
Automates changelog maintenance:
name: Changelog
jobs:
changelog:
uses: deepworks-net/github.actions/.github/workflows/update-changelog.yml@main
Workflow Integration Map
graph TD
A[New PR] --> B{Merged to Develop}
B --> C[Update Changelog]
B --> D[Update Draft Release]
C --> E[Prepare Release]
D --> E
E --> F[Create Release PR]
F --> G[Merge to Main]
G --> H[Publish Release]
Setup Instructions
Using Generated Actions
- Repository Configuration
# .github/workflows/docs.yml
name: Documentation
on:
push:
branches:
- main
jobs:
docs:
uses: deepworks-net/github.actions/.github/workflows/mkdocs-gh-pages.yml@main
- Using Core Actions
# Using generated tag operations
- uses: deepworks-net/github.actions/actions/core/tag-operations@main
with:
action: create
tag_name: v1.0.0
message: "Release version 1.0.0"
- Required Files
mkdocs.yml
for documentationCHANGELOG.md
for release notes-
.github/release-drafter.yml
for release configuration -
Repository Settings
- Enable GitHub Pages
- Set appropriate branch protections
- Configure required status checks
Working with FCM Architecture
- Understanding Axioms: Browse
axioms/
to see available capabilities - Never Edit Actions Directly: All actions in
actions/
are generated - Modify Through FCMs: Edit capability definitions in
axioms/
directory - Regenerate When Needed: Use bridge tools to update generated actions
Basic Usage
Documentation Updates
- Make changes to docs
- Push to main
- Workflow automatically deploys
Release Process
- Create changes in feature branch
- Merge PR to develop
- Changelog updates automatically
- Draft release updates
- Prepare release when ready
- Merge release PR
- Final release publishes
Advanced Configuration
Custom MkDocs Settings
jobs:
docs:
uses: deepworks-net/github.actions/.github/workflows/mkdocs-gh-pages.yml@main
with:
python-version: '3.11'
requirements-file: 'docs/requirements.txt'
Release Configuration
jobs:
release:
uses: deepworks-net/github.actions/.github/workflows/release-drafter.yml@main
with:
tag-name: 'v1.0.0'
Next Steps
- Review the Release Process Guide
- Check Configuration Guide
- See Development Guide
- Browse Examples
Common Issues
- Documentation Not Deploying
- Check GitHub Pages settings
- Verify mkdocs.yml configuration
-
Review workflow permissions
-
Release Draft Not Updating
- Check release-drafter.yml configuration
- Verify branch names
-
Review GitHub token permissions
-
Changelog Not Updating
- Ensure PR merged to correct branch
- Check file paths
- Verify workflow permissions
Getting Help
- Open an issue on GitHub
- Check existing documentation
- Review workflow run logs