Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into pydata_theme
Browse files Browse the repository at this point in the history
* upstream/main:
  Improved check for valid user in overnight BM run. (SciTools#4659)
  Make iris.tests.stock.simple_1d respect bounds arg (SciTools#4658)
  Fix aggregated_by mdtol/masked constant problem (SciTools#4246)
  • Loading branch information
tkknight committed Mar 24, 2022
2 parents 80d397f + 873b3e6 commit 094c4e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ jobs:
author=$(gh pr view $pr_number --json author -q '.["author"]["login"]' --repo $GITHUB_REPOSITORY)
merger=$(gh pr view $pr_number --json mergedBy -q '.["mergedBy"]["login"]' --repo $GITHUB_REPOSITORY)
# Find a valid assignee from author/merger/nothing.
if curl -s https://api.github.com/users/$author | grep -q "login"; then
if curl -s https://api.github.com/users/$author | grep -q '"type": "User"'; then
assignee=$author
elif curl -s https://api.github.com/users/$merger | grep -q "login"; then
elif curl -s https://api.github.com/users/$merger | grep -q '"type": "User"'; then
assignee=$merger
else
assignee=""
Expand Down

0 comments on commit 094c4e6

Please sign in to comment.