Migrate all repos into monorepo context folders
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.
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
name: Update Task State on Issue Events
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [closed, labeled]
|
||||
|
||||
jobs:
|
||||
mark-review:
|
||||
if: |
|
||||
github.event.action == 'labeled' &&
|
||||
github.event.label.name == 'ready-for-review' &&
|
||||
contains(github.event.issue.labels.*.name, 'ai-task')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Mark task as review in OrgMyLife
|
||||
run: |
|
||||
TITLE="${{ github.event.issue.title }}"
|
||||
TASK_ID=$(echo "$TITLE" | grep -oP 'OML-\K[0-9]+')
|
||||
|
||||
if [ -z "$TASK_ID" ]; then
|
||||
echo "Could not extract task ID from: $TITLE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Marking task $TASK_ID as review..."
|
||||
|
||||
curl -s -X POST \
|
||||
-u "${{ secrets.ORGMYLIFE_USER }}:${{ secrets.ORGMYLIFE_PASS }}" \
|
||||
-H "Authorization: Bearer ${{ secrets.ORGMYLIFE_API_SECRET }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"status": "review"}' \
|
||||
"https://api.andreknie.de/api/orchestrator/tasks/${TASK_ID}/state"
|
||||
|
||||
mark-done:
|
||||
if: |
|
||||
github.event.action == 'closed' &&
|
||||
contains(github.event.issue.labels.*.name, 'ai-task')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Mark task as completed in OrgMyLife
|
||||
run: |
|
||||
TITLE="${{ github.event.issue.title }}"
|
||||
TASK_ID=$(echo "$TITLE" | grep -oP 'OML-\K[0-9]+')
|
||||
|
||||
if [ -z "$TASK_ID" ]; then
|
||||
echo "Could not extract task ID from: $TITLE"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Marking task $TASK_ID as completed..."
|
||||
|
||||
curl -s -X POST \
|
||||
-u "${{ secrets.ORGMYLIFE_USER }}:${{ secrets.ORGMYLIFE_PASS }}" \
|
||||
-H "Authorization: Bearer ${{ secrets.ORGMYLIFE_API_SECRET }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"status": "completed"}' \
|
||||
"https://api.andreknie.de/api/orchestrator/tasks/${TASK_ID}/state"
|
||||
Reference in New Issue
Block a user