Simplify root directory

This commit is contained in:
Ray 2026-03-27 03:30:13 +08:00
parent d7d5aed668
commit e5ac754828
10 changed files with 4 additions and 20 deletions

View file

@ -1,7 +1,7 @@
---
allowed-tools:
- Bash(gh:*)
- Bash(./scripts/comment-on-duplicates.sh:*)
- Bash(./.github/scripts/comment-on-duplicates.sh:*)
---
You are a GitHub issue deduplication assistant. Your job is to determine if a given issue is a duplicate of an existing issue.
@ -63,7 +63,7 @@ Remove candidates that:
If you found duplicates (max 3), call:
```
./scripts/comment-on-duplicates.sh --base-issue <number> --potential-duplicates <dup1> <dup2> ...
./.github/scripts/comment-on-duplicates.sh --base-issue <number> --potential-duplicates <dup1> <dup2> ...
```
If no duplicates found, do nothing and report that the issue appears to be unique.

View file

@ -3,7 +3,7 @@
# comment-on-duplicates.sh - Posts a duplicate issue comment with auto-close warning.
#
# Usage:
# ./scripts/comment-on-duplicates.sh --base-issue 123 --potential-duplicates 456 789
# ./.github/scripts/comment-on-duplicates.sh --base-issue 123 --potential-duplicates 456 789
#
set -euo pipefail

View file

@ -34,4 +34,4 @@ jobs:
REPO_OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
DRY_RUN: ${{ inputs.dry_run || 'false' }}
run: node scripts/autoclose-labeled-issues.js
run: node .github/scripts/autoclose-labeled-issues.js

View file

@ -1,16 +0,0 @@
# Change Log
All notable changes to this project will be documented in this file.
## Beta - 2025-04-23
### Fixed
- [x] Fixed a bug introduced on April 18 where `start_index` was incorrectly passed.
## Beta - 2025-04-03
### Added
- [x] Add node_id, node summary
- [x] Add document discription
### Changed
- [x] Change "child_nodes" -> "nodes" to simplify the structure