Created
February 11, 2026 14:25
-
-
Save tiagobnobrega/1cc8a75fbb3abc53e96ecd33bb6621f7 to your computer and use it in GitHub Desktop.
PR Slack Message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cat <<EOF | |
| Updated PRs Check: | |
| $(gh search prs --created ">$(date -v-30d +"%F")" --draft=false --state "open" --sort "updated" --repo paramount-streaming/ctv-lite-monorepo --json number,title,url,state,author,createdAt --limit 30 | jq -r ' | |
| map(select(.author.type != "Bot")) | |
| | .[0:18] | |
| | map({days: (((now | floor) - (.createdAt | fromdate)) / 86400 | floor), title: (.title | gsub("\""; "\\\"")), state, url, author: .author.login, number}) | |
| | to_entries | |
| | map( | |
| "\(.key + 1 | tostring | ("0" * (2 - (tostring | length)) + tostring)) - \(.value.title | if length > 72 then .[0:69] + "..." else . + ("_" * (72 - length)) end) (\(.value.number)) - \(.value.url) [\(.value.days) days old]" | |
| ) | |
| | join("\n") | |
| ') | |
| Please react to this message with the number of the PRs you reviewed (:one: :two: :three: .... :10: :11: :12: :13: :14: :15: :16_circle: :may_17: :underage:) | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment