Skip to content

Commit 0570eaa

Browse files
PaulDuvallclaude
andcommitted
feat: add automated repository description updates
📋 Change summary: • Enhanced GitHub Actions workflow to auto-update repository description • Added dynamic command count in repository description • Integrated with existing badge automation system • Uses GitHub CLI with proper GITHUB_TOKEN authentication The repository description now automatically updates to show current command count: 'Transform Claude Code into a complete development platform with {N} AI-powered commands...' 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ffabd23 commit 0570eaa

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,11 @@ jobs:
327327
echo " • Built-in validation and testing"
328328
echo " • Proper file structure creation"
329329
330-
- name: Auto-update badges
330+
- name: Auto-update badges and repository description
331+
env:
332+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
331333
run: |
332-
echo "🏷️ Auto-updating command count badges..."
334+
echo "🏷️ Auto-updating command count badges and repository description..."
333335
ACTIVE=$(ls slash-commands/active/*.md 2>/dev/null | wc -l | tr -d ' ')
334336
EXPERIMENTAL=$(ls slash-commands/experiments/*.md 2>/dev/null | wc -l | tr -d ' ')
335337
TOTAL=$((ACTIVE + EXPERIMENTAL))
@@ -341,7 +343,15 @@ jobs:
341343
sed -i "s/experimental%20commands-[0-9]*/experimental%20commands-${EXPERIMENTAL}/g" README.md
342344
sed -i "s/total%20commands-[0-9]*/total%20commands-${TOTAL}/g" README.md
343345
344-
# Commit if changed
346+
# Update GitHub repository description
347+
REPO_DESCRIPTION="Transform Claude Code into a complete development platform with ${TOTAL} AI-powered commands that automate your entire software development workflow."
348+
echo "Updating repository description: $REPO_DESCRIPTION"
349+
350+
# GitHub CLI is pre-installed in ubuntu-latest
351+
gh repo edit --description "$REPO_DESCRIPTION" || echo "⚠️ Failed to update repository description - continuing with badge updates"
352+
echo "✅ Repository description updated"
353+
354+
# Commit if badges changed
345355
if git diff --quiet README.md; then
346356
echo "✅ Badges already up to date"
347357
else

0 commit comments

Comments
 (0)