chore: Fix duplicates job
This commit is contained in:
parent
d417f1d9f4
commit
b060d70a48
1 changed files with 4 additions and 0 deletions
4
.github/workflows/playground.sh
vendored
Normal file
4
.github/workflows/playground.sh
vendored
Normal 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"
|
||||
Loading…
Add table
Reference in a new issue