Repository navigation
ci(dashboard): rename workflow, cancel stale PR runs, and skip non-dashboard PRs - #11640
Conversation
|
Sorry @whatevertogo, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 1 day and 13 hours by commenting |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
如果后面有问题再提这个修复 PR 。 |
Split out from #11468 as an independent, self-contained workflow change.
Previously,
AstrBot Dashboard CIran fullpnpm install --frozen-lockfile,i18n:check, andpnpm run buildon every backend-only or docs-only pull request, and lacked PRconcurrencycancellation when pushing follow-up commits.Modifications
Rename
.github/workflows/dashboard_ci.ymlto.github/workflows/dashboard-ci.yml(kept as a dedicated pure-rename commit) for kebab-case consistency with the other workflow files.Add PR-only
concurrencycancellation so superseded runs on the same PR are cancelled automatically whilepushruns onmasterare never cancelled.Add a lightweight job-level
changesfilter (timeout-minutes: 5, fail-open) that runsbuildonpull_requestonly whendashboard/**,.github/workflows/dashboard-ci.yml, orastrbot/core/utils/t2i/template/shiki_runtime.iife.js(referenced bydashboard/vite.config.ts) changes.Preserve the
buildjob name (avoiding pending required-check hangs on skipped PRs) and always runbuildonpushtomastersoastrbot-release-harbourreleases remain unaffected.This is NOT a breaking change.
Screenshots or Test Results
.github/workflows/dashboard-ci.ymlsyntax viayaml.safe_load.dashboard/vite.config.tsreferences../astrbot/core/utils/t2i/template/shiki_runtime.iife.jsand no other files in the repository reference the olddashboard_ci.ymlfilename.dashboard_ci.yml => dashboard-ci.yml) followed by the concurrency and path-filter commit.Checklist
😊 If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc. (CI workflow optimization split from ci(tests): add PR concurrency cancellation, AST selective pytest runs, and clean up conftest #11468; no new user-facing feature)
👀 My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
📚 I checked the affected WebUI instructions and screenshots in
docs/zhanddocs/enagainst the changed navigation, page structure, and labels, and updated them in this PR (or explained why no documentation update is needed). (CI workflow only; no WebUI changes)🤓 I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in
requirements.txtandpyproject.toml. (No new dependencies)😮 My changes do not introduce malicious code.