Update .github/workflows/scan_duplicate_issues.yml

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Julio Quinteros Pro
2026-02-28 00:17:31 -03:00
committed by GitHub
co-authored by greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
parent 94b7342da8
commit 5a28ca985c
+6 -2
View File
@@ -33,13 +33,17 @@ jobs:
- name: Scan for duplicate issues
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
INPUT_THRESHOLD: ${{ inputs.threshold }}
INPUT_CLOSE: ${{ inputs.close }}
run: |
CLOSE_FLAG=""
if [ "${{ inputs.close }}" = "true" ]; then
if [ "$INPUT_CLOSE" = "true" ]; then
CLOSE_FLAG="--close"
fi
python3 .github/scripts/close_duplicate_issues.py \
--scan \
--repo ${{ github.repository }} \
--threshold ${{ inputs.threshold }} \
--threshold "$INPUT_THRESHOLD" \
$CLOSE_FLAG