mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #978] [MERGED] ci: automate issue status labels for staging PRs #4866
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4866
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/978
Author: @cha1latte
Created: 5/18/2026
Status: ✅ Merged
Merged: 5/18/2026
Merged by: @cha1latte
Base:
staging← Head:ci/issue-status-from-prs📝 Commits (1)
2d29218Automate issue status labels for staging PRs📊 Changes
1 file changed (+197 additions, -0 deletions)
View changed files
➕
.github/workflows/issue-status-from-prs.yml(+197 -0)📄 Description
Linked issue
No linked issue. This follows up on the staging issue-status cleanup where PRs targeting
stagingwere not making linked issues appear in progress or fixed-in-staging.Why this change
stagingcan remain visibly open without clear status because GitHub does not close them until the fix reaches the default branch.What changed
pull_request_targetworkflow for PRs that reference issues withCloses,Fixes, orResolves.in-prto open linked issues while an open PR targetingstagingreferences them.stagingto open linked issues when the referencing PR is merged intostaging.in-prlabels against the current set of open staging PRs so edited PR bodies or retargeted PRs do not leave stale issue status.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
.github/workflows/issue-status-from-prs.ymlas YAML successfully.actions/github-scriptJavaScript by wrapping it in an async function and runningnode --check.Closes #1, #2, same-repo qualified references, cross-repo references, unrelated issue references, and empty bodies; it passed.pnpm checkin a clean worktree based onupstream/staging; it passed.stagingwithCloses #...and confirm the linked issue receivesin-pr; merge that PR intostagingand confirm the issue receivesstagingand losesin-pr.Docs and release impact
No user-facing docs or release metadata changed; this is repository workflow automation only.
UI evidence (if applicable)
N/A. This is GitHub issue/PR workflow automation with no app UI surface.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.