deerflow2/.github/workflows
Xinmin Zeng 90e23bfd09
fix(ci): consolidate PR/issue labeling and fix reviewing-job crash + label thrash (#3455)
* fix(ci): consolidate PR/issue labeling into one triage.yml; fix reviewing crash & label thrash

- Replace pr-labeler + pr-triage + issue-triage with a single triage.yml; drop actions/labeler.
  Its sync-labels removed labels outside its config (clobbered size/risk/needs-validation and
  could clobber maintainer labels). Area is now computed in-script and reconciled only within
  owned namespaces (area:/size//risk:/needs-validation); first-time/reviewing are add-only.
- reviewing: gate on author_association in {OWNER,MEMBER,COLLABORATOR} + user.type==='User'
  instead of getCollaboratorPermissionLevel, which 404'd on bot reviewers ('Copilot is not a
  user') and crashed the job. Excludes all review bots with no denylist and no API call.
- Read live state (listFiles + listLabelsOnIssue) not the stale event payload, so rapid
  synchronize events converge instead of thrashing. Size churn excludes lockfiles/snapshots.

* fix(ci): read labels live via paginate in reviewing & issue-triage jobs

Address review feedback on #3455:
- reviewing: listLabelsOnIssue now paginates (per_page:100) instead of the
  default 30, matching pr-labels, so a 'reviewing' label is never missed on
  PRs with many labels.
- issue-triage: read live labels via the API instead of the event payload,
  consistent with the live-state reads documented in the header.
2026-06-09 11:14:19 +08:00
..
backend-blocking-io-tests.yml feat(tests): add Blockbuster runtime gate for event-loop blocking IO (#3229) 2026-05-26 23:03:49 +08:00
backend-unit-tests.yml chron(ci):setup the lint check in frontend (#1276) 2026-03-24 10:48:18 +08:00
container.yaml feat(github): Added container push workflow (#2709) 2026-05-04 11:14:34 +08:00
e2e-tests.yml feat(frontend): add Playwright E2E tests with CI workflow (#2279) 2026-04-18 08:21:08 +08:00
frontend-unit-tests.yml feat(frontend): set up Vitest frontend testing infrastructure with CI workflow (#2147) 2026-04-12 18:00:43 +08:00
label-sync.yml feat(ci): PR/issue auto-labeling + declarative label sync (#3360) 2026-06-03 16:40:24 +08:00
lint-check.yml ci: enforce code formatting checks for backend and frontend (#1536) 2026-03-29 15:34:38 +08:00
replay-e2e.yml test(e2e): deterministic record/replay front-back contract verification (#3365) 2026-06-08 12:35:03 +08:00
triage.yml fix(ci): consolidate PR/issue labeling and fix reviewing-job crash + label thrash (#3455) 2026-06-09 11:14:19 +08:00