• Will Chen's avatar
    refactor(ci): simplify workflows by removing workflow_dispatch and using PAT for pushes (#2598) · 743672c3
    Will Chen 提交于
    ## Summary
    - Remove `workflow_dispatch` inputs from CI, BugBot, and Claude PR
    Review workflows since pushes made with `PR_CONTENTS_RW_GITHUB_TOKEN` (a
    PAT) now naturally trigger downstream workflows via `pull_request
    synchronize` events
    - Simplify checkout logic across all workflows by removing
    fork-resolution steps that were only needed for `workflow_dispatch`
    - Remove manual workflow re-triggering in `pr-review-responder.yml`
    since PAT-based pushes handle this automatically
    
    #skip-bugbot
    
    ## Test plan
    - Verify CI workflows trigger correctly on PR push events from fork PRs
    - Verify BugBot and Claude PR Review trigger on `pull_request_target`
    events
    - Verify `pr-review-responder` pushes with PAT correctly trigger
    downstream workflows without manual `workflow_dispatch` calls
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2598"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Streamlined GitHub Actions by removing workflow_dispatch paths and
    switching to PAT-based pushes so pull_request synchronize events
    naturally trigger CI, BugBot, and Claude review. This reduces custom
    logic and makes fork PRs behave consistently.
    
    - **Refactors**
    - Removed workflow_dispatch and pr_number inputs from CI, BugBot, and
    Claude PR Review.
    - Checkout now uses pull_request head repo/ref; dropped fork-resolution
    logic.
    - Rebase and pr-review-responder push with PR_CONTENTS_RW_GITHUB_TOKEN
    to emit real synchronize events.
      - BugBot comment now uses WWWILLCHEN_PR_RW_PAT.
    - Simplified concurrency groups; removed manual re-triggers in
    pr-review-responder.
    
    - **Migration**
    - Ensure secrets exist: PR_CONTENTS_RW_GITHUB_TOKEN (contents:
    read/write) and WWWILLCHEN_PR_RW_PAT.
    - Verify CI, BugBot, and Claude run on pull_request synchronize from
    fork PRs; no manual reruns needed.
    
    <sup>Written for commit b8950ec974c1c8b4ae52f1ff200fa0edc4b296d8.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    ---------
    Co-authored-by: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    743672c3
名称
最后提交
最后更新
.claude 正在载入提交数据...
.cursor/rules 正在载入提交数据...
.devcontainer 正在载入提交数据...
.github 正在载入提交数据...
.husky 正在载入提交数据...
.storybook 正在载入提交数据...
assets 正在载入提交数据...
docs 正在载入提交数据...
drizzle 正在载入提交数据...
e2e-tests 正在载入提交数据...
makers 正在载入提交数据...
packages/@dyad-sh 正在载入提交数据...
rules 正在载入提交数据...
scaffold 正在载入提交数据...
scripts 正在载入提交数据...
shared 正在载入提交数据...
src 正在载入提交数据...
testing 正在载入提交数据...
tools 正在载入提交数据...
worker 正在载入提交数据...
workers/tsc 正在载入提交数据...
.cursorignore 正在载入提交数据...
.env.example 正在载入提交数据...
.eslintrc.json 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.oxfmtrc.json 正在载入提交数据...
.oxlintrc.json 正在载入提交数据...
.prettierignore 正在载入提交数据...
.prettierrc 正在载入提交数据...
AGENTS.md 正在载入提交数据...
CLA.md 正在载入提交数据...
CLAUDE.md 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
LICENSE 正在载入提交数据...
README.md 正在载入提交数据...
SECURITY.md 正在载入提交数据...
biome.json 正在载入提交数据...
components.json 正在载入提交数据...
drizzle.config.ts 正在载入提交数据...
forge.config.ts 正在载入提交数据...
forge.env.d.ts 正在载入提交数据...
index.html 正在载入提交数据...
lint-staged.config.js 正在载入提交数据...
merge.config.ts 正在载入提交数据...
package-lock.json 正在载入提交数据...
package.json 正在载入提交数据...
playwright.config.ts 正在载入提交数据...
tsconfig.app.json 正在载入提交数据...
tsconfig.json 正在载入提交数据...
tsconfig.node.json 正在载入提交数据...
vite.main.config.mts 正在载入提交数据...
vite.preload.config.mts 正在载入提交数据...
vite.renderer.config.mts 正在载入提交数据...
vite.worker.config.mts 正在载入提交数据...
vitest.config.ts 正在载入提交数据...
windowsSign.ts 正在载入提交数据...