File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 5252mkdir -p " $DIR "
5353cd " $DIR "
5454for login in * ; do
55- trace gh api -X GET /repos/" $ORG " /" $ACTIVITY_REPO " /activity -f time_period=year -f actor=" $login " -f per_page=100 \
56- --jq " .[] | \" - \(.timestamp) [\(.activity_type) on \(.ref | ltrimstr(\" refs/heads/\" ))](https://github.com/$ORG /$ACTIVITY_REPO /compare/\(.before)...\(.after))\" " \
55+ trace gh api -X GET /repos/" $ORG " /" $ACTIVITY_REPO " /activity \
56+ -f time_period=year \
57+ -f actor=" $login " \
58+ -f per_page=100 \
59+ --jq ' .[] |
60+ "- \(.timestamp) [\(.activity_type) on \(.ref | ltrimstr("refs/heads/"))](https://github.com/' " $ORG /$ACTIVITY_REPO " ' /\(
61+ if .activity_type == "branch_creation" then
62+ "commit/\(.after)"
63+ elif .activity_type == "branch_deletion" then
64+ "commit/\(.before)"
65+ else
66+ "compare/\(.before)...\(.after)"
67+ end
68+ ))"' \
5769 > " $tmp /$login "
5870 activityCount=$( wc -l < " $tmp /$login " )
5971
You can’t perform that action at this time.
0 commit comments