We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b7342 commit 5a28ca9Copy full SHA for 5a28ca9
.github/workflows/scan_duplicate_issues.yml
@@ -33,13 +33,17 @@ jobs:
33
- name: Scan for duplicate issues
34
env:
35
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
+ env:
37
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38
+ INPUT_THRESHOLD: ${{ inputs.threshold }}
39
+ INPUT_CLOSE: ${{ inputs.close }}
40
run: |
41
CLOSE_FLAG=""
- if [ "${{ inputs.close }}" = "true" ]; then
42
+ if [ "$INPUT_CLOSE" = "true" ]; then
43
CLOSE_FLAG="--close"
44
fi
45
python3 .github/scripts/close_duplicate_issues.py \
46
--scan \
47
--repo ${{ github.repository }} \
- --threshold ${{ inputs.threshold }} \
48
+ --threshold "$INPUT_THRESHOLD" \
49
$CLOSE_FLAG
0 commit comments