You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "| 📝 **Code Linting** | ✅ Passed | All formatting and style checks passed |"
99
+
echo ""
100
+
echo "---"
101
+
echo ""
102
+
echo "🚀 **This PR is ready for review and can be safely merged to \`main\` branch!**"
103
+
echo ""
104
+
echo "*Great work! Your code meets all quality standards.* 👏"
105
+
else
106
+
echo "## ❌ Checks Failed"
107
+
echo ""
108
+
echo "> **Status:** 🚫 Not ready to merge"
109
+
echo ""
110
+
echo "Please fix the following issues before merging:"
111
+
echo ""
112
+
113
+
if [ "$CI_PASSED" = "false" ]; then
114
+
echo "### 🔨 Continuous Integration Failed"
115
+
echo ""
116
+
echo "**Issue:** The build process failed to complete."
117
+
echo ""
118
+
echo "**How to fix:**"
119
+
echo "1. Run \`npm run build\` locally to identify the issue"
120
+
echo "2. Fix any TypeScript compilation errors"
121
+
echo "3. Ensure all dependencies are properly installed"
122
+
echo "4. Test your changes before pushing"
123
+
echo ""
124
+
echo "---"
125
+
echo ""
126
+
fi
127
+
128
+
if [ "$LINT_PASSED" = "false" ]; then
129
+
echo "### 📝 Code Linting Failed"
130
+
echo ""
131
+
echo "**Issue:** Code formatting or style violations detected."
132
+
echo ""
133
+
if [ -n "$LINT_ERRORS" ]; then
134
+
echo "**Specific problems:**"
135
+
echo ""
136
+
echo -e "$LINT_ERRORS"
137
+
echo ""
138
+
fi
139
+
echo "**How to fix:**"
140
+
echo ""
141
+
echo "| Platform | Command | Description |"
142
+
echo "|----------|---------|-------------|"
143
+
echo "| 🐧 **Unix/macOS/Linux** | \`npm run format\` | Auto-fix all formatting issues |"
144
+
echo "| 🪟 **Windows** | \`npm run format:file <filename>\` | Fix specific files |"
145
+
echo "| 🔍 **Check Only** | \`npm run format:check\` | Check formatting without fixing |"
146
+
echo ""
147
+
echo "**Need help with linting?** Check out the [Linting Guide for Windows Users](https://github.com/sugarlabs/www-v2/pull/12) for detailed instructions."
148
+
echo ""
149
+
echo "---"
150
+
echo ""
151
+
fi
152
+
153
+
echo "### 🛠️ Next Steps"
154
+
echo ""
155
+
echo "1. **Fix the issues** mentioned above"
156
+
echo "2. **Test locally** to ensure everything works"
157
+
echo "3. **Push your fixes** to this branch"
158
+
echo "4. **Wait for re-check** - This bot will automatically run again"
159
+
echo ""
160
+
echo "> 🤖 *This comment will be updated automatically when you push new commits*"
Copy file name to clipboardExpand all lines: docs/GSoC-Blogpost-Guidelines.md
+63-31Lines changed: 63 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,63 @@
1
-
# GSoC ’25 Blogpost Guidelines
1
+
# GSoC '25 Blogpost Guidelines
2
2
3
-
This document explains how to write and format your weekly GSoC ’25 updates for the Sugar Labs website. Follow these instructions to ensure consistency and clarity across all posts.
3
+
This document explains how to write and format your weekly GSoC '25 updates for the Sugar Labs website. Follow these instructions to ensure consistency and clarity across all posts.
4
4
5
5
<!-- markdownlint-disable -->
6
6
7
-
## 1. Official Template
7
+
## Step 1: Create Your Author Profile (One-time setup)
8
8
9
-
Use the exact template below for every GSoC ’25 week update or you will also find this under `constants/MarkdownFiles/posts/GSoC_Template.md`. Copy it into `constants/MarkdownFiles/posts/gsoc-25-username-weekXX.md`, then fill in your details.
9
+
Before writing your first blog post, you need to create an author profile that will be linked to all your posts.
10
+
11
+
1.**Create a new file** in `constants/MarkdownFiles/authors/` named `your-username.md`
12
+
2.**Use this template** and replace the placeholder information:
Use the exact template below for every GSoC '25 week update. You can also find this under `constants/MarkdownFiles/posts/YYYY-MM-DD-GSoC_DMP_SSoC_Template.md`. Copy it into `constants/MarkdownFiles/posts/YYYY-MM-DD-gsoc-25-username-weekXX.md`, then fill in your details.
10
51
11
52
```markdown
12
53
---
13
-
title: "GSoC ’25 Week XX Update by Safwan Sayeed"
14
-
excerpt: "This is a Template to write Blog Posts for weekly updates"
15
-
category: "TEMPLATE"
16
-
date: "2025-05-10"
17
-
slug: "gsoc-25-sa-fw-an-weekX"
18
-
author: "Safwan Sayeed"
19
-
description: "Maintainer and GSoC'25 Contributor at SugarLabs"
20
-
tags: "gsoc25,sugarlabs,weekXX,sa-fw-an"
54
+
title: "GSoC '25 Week XX Update by [Your Name]"
55
+
excerpt: "Brief description of this week's progress"
0 commit comments