Skip to content

Instantly share code, notes, and snippets.

@JoeSimmonds
Created February 4, 2021 14:33
Show Gist options
  • Save JoeSimmonds/0277c0ffaf1c2b50da406835b87fcf89 to your computer and use it in GitHub Desktop.
Save JoeSimmonds/0277c0ffaf1c2b50da406835b87fcf89 to your computer and use it in GitHub Desktop.
#!/bin/zsh
repos=(
self-employed-income-support
self-employed-income-support-admin-frontend
self-employed-income-support-check-frontend
self-employed-income-support-eligibility
self-employed-income-support-frontend
self-employed-income-support-stub
self-employed-income-support-journey-tests
self-employed-income-support-performance-tests
self-employed-income-support-bars
self-employed-income-support-stride-frontend
)
infra_repos=(
app-config-common
app-config-base
app-config-development
app-config-qa
app-config-staging
app-config-production
alert-config
build-jobs
aws-ami-admin-frontend-proxy
service-manager-config
mdtp-frontend-routes
grafana-dashboards
)
interesting_devs_regex="DeveloperName\|JoeSimmonds"
pushd ~/hmrc
for repo in ${repos}
do
cd $repo
hub pr list -f "%pC%>(8)%i%Creset %<(16)%ur %t %l %Cgreen%au%Creset %U %n"
cd ..
done
for repo in ${infra_repos}
do
cd $repo
hub pr list -f "%pC%>(8)%i%Creset %<(16)%ur %t %l %Cgreen%au%Creset %U %n" | grep --color=always $interesting_devs_regex
cd ..
done
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment