Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/scripts/bot-office-hours.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,15 @@ The Python SDK Team
EOF
)


echo "$PR_DATA" |
jq -r '
sort_by(.author.login)
| group_by(.author.login)
| .[]
| max_by(.createdAt)
| ((.author.login | endswith("[bot]")) as $is_bot
| "\(.number) \(.author.login) \($is_bot)"
| "\(.number) \(.author.login) \($is_bot)")
' |
while read -r PR_NUM AUTHOR IS_BOT; do
if [[ "$IS_BOT" == "true" ]]; then
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
- Update changelog workflow to trigger automatically on pull requests instead of manual dispatch (#1567)

### Fixed
- Fixed jq syntax in bot-office-hours.sh (#1502)
- Prevented linkbot from commenting on or auto-closing bot-authored pull requests. (#1516)
- Respect `dry-run` input in `bot-community-calls.yml` workflow (#1425)
- Updated LinkBot regex in the GitHub Actions bot script to support "Closes" and "Resolves" keywords for improved PR body-link detection (#1465)
Expand Down