feat(ci): clean up submission PR titles and automate image localization - #71
Merged
Conversation
- Strip the issue-template prefix (and drop the "—" separator) from the auto-generated submission PR title and commit message, so titles read e.g. `feat(scripts): Add EdgeTX Flight Log` instead of `feat(scripts): Add script — [Lua App Submission] EdgeTX Flight Log`. - Add localize-images.yml: applying the `localize-images` label to a submission PR now runs download_external_images.py and auto-commits the result, replacing the manual "run this locally" checklist step. - Add CONTRIBUTING.md documenting the full issue -> PR -> merge pipeline. - Bump pinned GitHub Action versions across all workflows (checkout v6->v7, setup-uv v8.1.0->v9.0.0, upload-pages-artifact v3->v5, deploy-pages v4->v5). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
—separator) from the auto-generated submission PR title and commit message.[Lua App Submission] EdgeTX Flight Lognow producesfeat(scripts): Add EdgeTX Flight Loginstead offeat(scripts): Add script — [Lua App Submission] EdgeTX Flight Log.localize-images.yml: applying the newlocalize-imageslabel to a submission PR now runstools/download_external_images.pyand pushes the result as a commit, replacing the manual "run this locally" checklist step in the draft PR body. The label already exists on the repo (#5319E7).CONTRIBUTING.mddocumenting the full issue → label → automated draft PR →localize-images→ merge → gh-pages pipeline.actions/checkoutv6→v7,astral-sh/setup-uvv8.1.0→v9.0.0,actions/upload-pages-artifactv3→v5,actions/deploy-pagesv4→v5. (actions/github-scriptandactions/upload-artifactwere already pinned to their current latest majors.)Test plan
[Lua App Submission] EdgeTX Flight Logand[Lua App Update] EdgeTX Flight Log— both produce the expected clean strings.uv run tools/validate_scripts.py --scripts-json scripts.jsonuv run tools/sync_issue_template_options.py --checkuv run tools/test_sync_issue_template_options.pyuv run tools/download_external_images.py --dry-run(confirms the script itself is untouched)add-to-gallery, confirm the draft PR title/commit are clean, then applylocalize-imagesand confirm the auto-commit lands🤖 Generated with Claude Code