Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/close-merged-theme-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,12 @@ jobs:
exit 0
fi

issue_state="$(gh issue view "$issue_number" --json state --jq .state)"

if [ "$issue_state" = "CLOSED" ]; then
echo "Source issue #${issue_number} is already closed."
exit 0
fi

gh issue close "$issue_number" \
--comment "Theme submission was merged in #${PR_NUMBER}. Thanks for sharing it."
1 change: 1 addition & 0 deletions MEMORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ This file stores durable project context so future conversations can resume work
- Theme submission automation uses GitHub Issue Forms plus `.github/workflows/create-theme-submission.yml`; it creates candidate PRs from complete submission issues without Decap or external auth hosting
- Approved submission PRs are finalized by `.github/workflows/publish-approved-theme-submission.yml`, which sets `status: "published"` and assigns the next available low `catalogIndex`; maintainers still merge the PR explicitly
- Merged submission PRs close their source issue through `.github/workflows/close-merged-theme-submission.yml`; new generated PR bodies also include `Closes #<issue>`
- The close-merged submission workflow became idempotent on 2026-05-03: it now exits successfully when the source issue was already closed by GitHub's `Closes #<issue>` automation.
- `.github/workflows/refresh-theme-stats.yml` runs monthly and opens a PR for changed repository stars, update dates, owner avatars, or accessibility values
- The build workflow syntax also requires `workflow_dispatch:` with a trailing colon; missing it makes GitHub mark the workflow file as invalid even if other checks still pass

Expand Down