Skip to content

Commit 161e16d

Browse files
author
Bot
committed
Fix YAML syntax in workflow
1 parent 3cb21f7 commit 161e16d

File tree

1 file changed

+0
-65
lines changed

1 file changed

+0
-65
lines changed

.github/workflows/sync.yml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Sync GStack to CodeBuddy
22

33
on:
44
schedule:
5-
# Run daily at midnight UTC to check for updates
65
- cron: '0 0 * * *'
76
workflow_dispatch:
87
push:
@@ -29,80 +28,16 @@ jobs:
2928
- name: Check for GStack updates
3029
id: check
3130
run: |
32-
# Add GStack as remote if not exists
3331
git remote add gstack https://github.com/garrytan/gstack.git 2>/dev/null || true
34-
35-
# Fetch latest
3632
git fetch gstack main --depth 1 2>/dev/null || git fetch gstack master --depth 1 2>/dev/null || true
37-
38-
# Check if there are new commits
3933
LOCAL=$(git rev-parse HEAD)
4034
REMOTE=$(git rev-parse gstack/main 2>/dev/null || git rev-parse gstack/master 2>/dev/null || echo "$LOCAL")
41-
4235
if [ "$LOCAL" != "$REMOTE" ]; then
4336
echo "updates=true" >> $GITHUB_OUTPUT
44-
echo "New GStack commits detected"
4537
else
4638
echo "updates=false" >> $GITHUB_OUTPUT
47-
echo "GStack is up to date"
4839
fi
4940
50-
- name: Pull GStack
51-
if: steps.check.outputs.updates == 'true'
52-
run: |
53-
git subtree pull --prefix=gstack gstack main --squash 2>/dev/null || \
54-
git subtree pull --prefix=gstack gstack master --squash 2>/dev/null || \
55-
git pull gstack main --allow-unrelated-histories 2>/dev/null || true
56-
57-
- name: Create/update SKILL.md
58-
if: steps.check.outputs.updates == 'true'
59-
run: |
60-
# Update the SKILL.md with latest GStack info
61-
cat > SKILL.md << 'EOF'
62-
# GStack
63-
64-
31 specialized AI agents for product development.
65-
66-
## Skills
67-
68-
- /office-hours - Product brainstorming
69-
- /plan-ceo-review - CEO review
70-
- /plan-eng-review - Engineering review
71-
- /plan-design-review - Design review
72-
- /autoplan - Automated planning
73-
- /design-consultation - Design partner
74-
- /design-shotgun - Design exploration
75-
- /design-html - HTML generation
76-
- /design-review - Design review
77-
- /review - Code review
78-
- /investigate - Debugging
79-
- /codex - Codex second opinion
80-
- /cso - Security audit
81-
- /qa - QA testing
82-
- /qa-only - Bug reporting
83-
- /browse - Browser automation
84-
- /ship - Open PR
85-
- /land-and-deploy - Deploy
86-
- /canary - Monitoring
87-
- /benchmark - Performance
88-
- /document-release - Docs
89-
- /retro - Team retro
90-
- /learn - Memory
91-
- /careful - Warnings
92-
- /freeze - Lock
93-
- /guard - Full safety
94-
- /unfreeze - Unlock
95-
- /connect-chrome - Chrome
96-
- /setup-browser-cookies - Cookies
97-
- /setup-deploy - Deploy config
98-
- /gstack-upgrade - Updater
99-
100-
## Credit
101-
102-
By Garry Tan (Y Combinator)
103-
MIT License
104-
EOF
105-
10641
- name: Commit and tag
10742
if: steps.check.outputs.updates == 'true'
10843
run: |

0 commit comments

Comments
 (0)