Skip to content

Commit 5a28ca9

Browse files
Update .github/workflows/scan_duplicate_issues.yml
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 94b7342 commit 5a28ca9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/scan_duplicate_issues.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ jobs:
3333
- name: Scan for duplicate issues
3434
env:
3535
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
env:
37+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
INPUT_THRESHOLD: ${{ inputs.threshold }}
39+
INPUT_CLOSE: ${{ inputs.close }}
3640
run: |
3741
CLOSE_FLAG=""
38-
if [ "${{ inputs.close }}" = "true" ]; then
42+
if [ "$INPUT_CLOSE" = "true" ]; then
3943
CLOSE_FLAG="--close"
4044
fi
4145
python3 .github/scripts/close_duplicate_issues.py \
4246
--scan \
4347
--repo ${{ github.repository }} \
44-
--threshold ${{ inputs.threshold }} \
48+
--threshold "$INPUT_THRESHOLD" \
4549
$CLOSE_FLAG

0 commit comments

Comments
 (0)