Bahn: aisupport, Analyse-O2C-C2S, awesome-bahn-mcp-servers, beam-mcp,
Confluence_Bot, db-planet-mcp-server, O2C-Harness, project-audit,
Projekt-KIQ-HP, teamlandkarte-mcp
Dhive: Jury-Voting
Privat: CV, NoteGraph (NOTE: NoteGraph needs complete redo after consolidation)
Shared: AI-Orchestrator, OrgMyLife, power_skills_and_more
Shared/references: symphony (read-only)
Bahn repos remain available as independent remotes - this monorepo
pulls them in via subtree, the originals are untouched.
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: Sync OrgMyLife Plan to Projects Board
|
|
|
|
on:
|
|
push:
|
|
paths: ['PLAN.md']
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Parse open tasks and sync to Projects board
|
|
run: |
|
|
REPO_NAME="OrgMyLife"
|
|
|
|
TASKS="[]"
|
|
if [ -f "PLAN.md" ]; then
|
|
ITEMS=$(grep -E '^\s*- \[ \]' PLAN.md | sed 's/.*- \[ \] //' | head -50)
|
|
if [ -n "$ITEMS" ]; then
|
|
TASKS=$(echo "$ITEMS" | jq -R -s 'split("\n") | map(select(length > 0)) | map({"title": ., "status": "backlog"})')
|
|
fi
|
|
fi
|
|
|
|
echo "Found tasks: $TASKS"
|
|
|
|
PAYLOAD=$(jq -n --arg repo "$REPO_NAME" --argjson tasks "$TASKS" '{"repo": $repo, "tasks": $tasks}')
|
|
|
|
curl -s -X POST \
|
|
-u "${{ secrets.ORGMYLIFE_USER }}:${{ secrets.ORGMYLIFE_PASS }}" \
|
|
-H "X-API-Key: ${{ secrets.ORGMYLIFE_API_SECRET }}" \
|
|
-H "Content-Type: application/json" \
|
|
-d "$PAYLOAD" \
|
|
"https://api.andreknie.de/api/projects/sync"
|