chore: Fix duplicates job

This commit is contained in:
Christian Kußowski 2025-05-18 11:29:45 +02:00
parent d417f1d9f4
commit b060d70a48
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

4
.github/workflows/playground.sh vendored Normal file
View file

@ -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"