chore: Fix duplicates job

pull/1905/head
Christian Kußowski 5 months ago
parent d417f1d9f4
commit b060d70a48
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -0,0 +1,4 @@
number=${{ env.number }}
issues=$(gh issue list --search 'Unable to play video' --json number,title,url | jq --arg num "$number" -r 'map(select(.number != ($num | tonumber))) | .[] | "- [" + .title + "](" + .url + ")"')
echo -e "Thanks for reporting @${{ evn.author }}.\nPlease check if this could be a duplicate of one of these issues:\n$issues"
Loading…
Cancel
Save