Skip to content

Commit 59cc903

Browse files
authored
Update dedupe workflow to have correct name (#5327)
* Refactor issue dedupe workflows to call reusable workflow Replace inline workflow logic in all three issue dedup files with thin callers to opensearch-project/opensearch-build/.github/workflows/issue-dedupe.yml@main. This centralizes the dedupe logic (detect, auto-close, remove-label) into a single reusable workflow, reducing per-repo maintenance burden. Signed-off-by: Heng Qian <qianheng@amazon.com> * Temporarily point dedupe workflows to personal fork for testing Point reusable workflow references to qianheng-aws/opensearch-build branch add-issue-dedupe-workflow until the upstream PR is merged. Signed-off-by: Heng Qian <qianheng@amazon.com> * Refactor dedupe workflows to use opensearch-build reusable workflows - Three caller workflows now delegate to opensearch-build reusable workflows - Remove .claude/commands/dedupe.md (prompt now lives in opensearch-build) - Remove scripts/comment-on-duplicates.sh (logic inlined in reusable workflow) Signed-off-by: Heng Qian <qianheng@amazon.com> * Test: point dedupe detect to test-dedupe-debug branch Signed-off-by: Heng Qian <qianheng@amazon.com> * Point dedupe detect to PR branch for testing Signed-off-by: Heng Qian <qianheng@amazon.com> * Simplify dedupe callers after reusable workflow input cleanup Remove redundant parameter passing — reusable workflows now derive issue context from github.event directly. Signed-off-by: Heng Qian <qianheng@amazon.com> * Update dedupe caller to match latest reusable workflow changes - Point to opensearch-project/opensearch-build@main - Rename secret to BEDROCK_ACCESS_ROLE_ISSUE - Add schedule trigger and auto-close job - Remove workflow_dispatch (detect derives issue from github.event) Signed-off-by: Heng Qian <qianheng@amazon.com> * Rename dedupe workflow to remove tool-specific naming Signed-off-by: Heng Qian <qianheng@amazon.com> * Add dispatch for dedupe workflow Signed-off-by: Heng Qian <qianheng@amazon.com> * Add workflow_dispatch support for auto-close job Signed-off-by: Heng Qian <qianheng@amazon.com> * Point dedupe workflows to fork branch for testing Signed-off-by: Heng Qian <qianheng@amazon.com> * Consolidate dedupe workflows and add grace_days to auto-close Signed-off-by: Heng Qian <qianheng@amazon.com> * Pass grace_days to detect workflow via repo variable Signed-off-by: Heng Qian <qianheng@amazon.com> * Point dedupe workflows to upstream main and update secret name Signed-off-by: Heng Qian <qianheng@amazon.com> * Rename workflow to Issue Dedupe Main Signed-off-by: Heng Qian <qianheng@amazon.com> --------- Signed-off-by: Heng Qian <qianheng@amazon.com>
1 parent f7f431d commit 59cc903

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/issue-dedupe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Issue Dedupe
2+
name: Issue Dedupe Main
33
on:
44
issues:
55
types: [opened]

0 commit comments

Comments
 (0)