Repository navigation
docs: add troubleshooting section to workflows.md and fix typo - #2
Conversation
…rge policy Expand the Code reviews section to make the CodeRabbit review step explicit: wait for the automated review before requesting human approval, resolve all CodeRabbit threads, and do not merge until CI, CodeRabbit, and at least one human reviewer have all approved. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix typo: 'displayes' -> 'displays' and add missing space before backtick - Add Troubleshooting section covering: viewing run logs (UI + CLI), triggering workflow_dispatch manually, common secrets errors, reusable workflow not found, and TechDocs AWS credentials failures Closes #1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThis PR updates documentation by fixing a typo and adding troubleshooting guidance to workflows documentation, while revising the review and merge policy to incorporate automated CodeRabbit checks and explicit multi-condition merge requirements. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/workflows.md`:
- Around line 107-116: The docs section "Reusable workflow not found (`Could not
find reusable workflow`)" currently recommends `gh release list`, which may miss
tags; update that guidance to show a direct tag existence check instead by
recommending `git ls-remote --tags <repo-url> | grep <tag-name>` as the primary
command and include an alternative using the GitHub API `gh api
repos/<owner>/<repo>/git/refs/tags --jq '.[].ref' | grep <tag-name>` for users
who prefer GH CLI; keep the original release-based command as an optional
simpler fallback and clarify that the tag check is the more accurate method for
resolving reusable workflow ref errors.
| ### Reusable workflow not found (`Could not find reusable workflow`) | ||
|
|
||
| The caller is likely pinned to a tag that does not exist yet in this repo, or | ||
| the ref has been deleted. Check the tag exists: | ||
|
|
||
| ```bash | ||
| gh release list --repo geolonia/.github --limit 10 | ||
| ``` | ||
|
|
||
| If the tag is missing, create it from the appropriate commit on `main`. |
There was a problem hiding this comment.
🧹 Nitpick | 🔵 Trivial
Consider a more direct command for checking tag existence.
The gh release list command shows releases, which may not include all tags. Reusable workflows reference tags directly, so checking for tag existence specifically would be more accurate:
git ls-remote --tags https://github.com/geolonia/.github | grep <tag-name>or
gh api repos/geolonia/.github/git/refs/tags --jq '.[].ref' | grep <tag-name>That said, if your workflow tags are always associated with releases, the current command is practical and simpler for users.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@docs/workflows.md` around lines 107 - 116, The docs section "Reusable
workflow not found (`Could not find reusable workflow`)" currently recommends
`gh release list`, which may miss tags; update that guidance to show a direct
tag existence check instead by recommending `git ls-remote --tags <repo-url> |
grep <tag-name>` as the primary command and include an alternative using the
GitHub API `gh api repos/<owner>/<repo>/git/refs/tags --jq '.[].ref' | grep
<tag-name>` for users who prefer GH CLI; keep the original release-based command
as an optional simpler fallback and clarify that the tag check is the more
accurate method for resolving reusable workflow ref errors.
Replace the sole 'gh release list' recommendation with a direct tag existence check using 'git ls-remote --tags' and 'gh api .../git/refs/tags' as the primary commands (more accurate than release list). Keep 'gh release list' as an optional simpler fallback with a note that releases and tags are not always in sync. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
displayes→displaysand missing space before backtick on line 9Changes
docs/workflows.md: typo fix + new Troubleshooting section (viewing logs,workflow_dispatch, secrets errors, reusable workflow not found, TechDocs AWS credentials)Test plan
Closes #1
🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes