Add workflow to auto-create PR on upstream Misskey release#3
Merged
Conversation
Co-authored-by: techfish-11 <135989741+techfish-11@users.noreply.github.com> Agent-Logs-Url: https://github.com/evex-dev/eveskey/sessions/68630c3d-b655-4a3d-9473-8b32fa6e642a
Copilot
AI
changed the title
[WIP] Add automatic PR creation on upstream release
Add workflow to auto-create PR on upstream Misskey release
Mar 25, 2026
techfish-11
marked this pull request as ready for review
March 25, 2026 15:33
There was a problem hiding this comment.
Pull request overview
Adds an automated GitHub Actions workflow to keep this fork in sync with upstream Misskey releases by creating PRs that merge upstream release tags into develop.
Changes:
- Introduces a scheduled + manual-dispatch workflow to detect the latest upstream release tag.
- Creates/pushes an
upstream/<tag>branch from the upstream tag (idempotent if branch already exists). - Opens a PR to
developusing upstream release notes as the PR body (with fallback text).
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
techfish-11
approved these changes
Mar 25, 2026
akku1139
reviewed
Mar 25, 2026
akku1139
requested changes
Mar 25, 2026
Member
|
@copilot plz fix |
Member
|
コンフリクト起きなかったらマージしてpushまでしちゃえば? (雑) |
Member
|
改善案: (done) |
Member
|
もしかすると --state all をやめて、mergedに限定した方がいいかも |
GitHub CLI returns `1` if the release is not found
Member
|
良さそう |
akku1139
self-requested a review
March 25, 2026 17:41
akku1139
approved these changes
Mar 25, 2026
Member
|
もしくは、GitHub Appsを使う (done) |
Member
|
https://github.com/misskey-dev/misskey/commits/develop/.github/workflows 結構な頻度で更新されてるので、回避策が必要 |
Member
|
反応が無いのでマージしちゃう |
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.
What
Adds
.github/workflows/upstream-release-sync.yml— a scheduled GitHub Actions workflow that watchesmisskey-dev/misskeyfor new releases and automatically opens a PR to merge the upstream tag intodevelop.Flow:
workflow_dispatch)misskey-dev/misskeyupstream/<tag>branch — exits early if found (idempotent)upstream/<tag>branchdevelopwith the upstream release notes as the body; falls back to a plain description if notes are emptyWhy
Upstream releases were tracked manually. Automating this ensures eveskey stays in sync with
misskey-dev/misskeywithout human polling.Additional info (optional)
The idempotency check uses
git ls-remoteon the branch name, so re-running the workflow against an already-synced release is a no-op. An explicit tag-existence check aftergit fetchsurfaces clear error messages if the fetch silently fails.Checklist
Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.