Skip to content

Commit 1b6298d

Browse files
CopilotDanRoscigno
andcommitted
Fix team name from docs-maintainers to docs-maintainer
Co-authored-by: DanRoscigno <25182304+DanRoscigno@users.noreply.github.com>
1 parent d72ff6c commit 1b6298d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/check-translation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
script: |
154154
const commentBody = `✅ Translation job requested by @${{ github.event.comment.user.login }}.
155155
156-
Waiting for approval from a member of the \`StarRocks/docs-maintainers\` team.
156+
Waiting for approval from a member of the \`StarRocks/docs-maintainer\` team.
157157
158158
To approve, comment: \`/translate-approve\``;
159159

TRANSLATION_WORKFLOW.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ The workflow compares the base branch with the PR branch and checks which files
118118
To customize the workflow:
119119

120120
1. **Change language directories**: Update the `paths` section in the workflow file
121-
2. **Change team name**: Replace `docs-maintainers` with your team slug in the workflow
121+
2. **Change team name**: Replace `docs-maintainer` with your team slug in the workflow
122122
3. **Modify comment messages**: Edit the comment templates in the workflow's `script` sections
123123

124124
## 📝 Example Usage
@@ -128,7 +128,7 @@ To customize the workflow:
128128
1. Developer creates a PR that updates `/docs/en/guide.md`
129129
2. Workflow posts a comment noting that Chinese and Japanese versions are missing
130130
3. Anyone comments `/translate-request` to indicate translation is needed
131-
4. A docs-maintainers team member reviews and comments `/translate-approve`
131+
4. A docs-maintainer team member reviews and comments `/translate-approve`
132132
5. The workflow confirms approval and adds the `translation-approved` label
133133
6. (Your translation job or process would then be triggered based on this label)
134134

@@ -150,7 +150,7 @@ This workflow focuses on **detection and approval**. To actually run translation
150150
- **Solution:** Verify that changes are in the docs directories and only 1-2 languages are affected
151151

152152
**Issue:** Approval not working
153-
- **Solution:** Confirm user is a member of the `StarRocks/docs-maintainers` team and `ORG_READ_TOKEN` is properly configured
153+
- **Solution:** Confirm user is a member of the `StarRocks/docs-maintainer` team and `ORG_READ_TOKEN` is properly configured
154154

155155
**Issue:** "The GitHub token has the necessary permissions to check team membership" error
156156
- **Solution:** Create a Personal Access Token with `read:org` scope and add it as `ORG_READ_TOKEN` secret in repository settings

0 commit comments

Comments
 (0)