Skip to content

Commit d75f85c

Browse files
committed
mishap with pr fetching
1 parent b0bbaf3 commit d75f85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-usaco.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
git config --global user.email usaco-autofetch[bot]@users.noreply.github.com
3737
git commit -m 'problem auto-updates'
3838
git push -f origin auto
39-
export pr_number=$(gh pr list --json number --jq '.[0].number')
39+
export pr_number=$(gh pr list --author 'usaco-autofetch[bot]' --json number --jq '.[0].number')
4040
if [ -z "$pr_number" ]
4141
then
4242
gh pr create --title 'Problem auto-updates' -F usaco-problems/out/report.txt

0 commit comments

Comments
 (0)