From 4ad2601eba26d4d15a7ab17ef4e2e873a772b630 Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Mon, 23 Sep 2024 15:53:48 -0700 Subject: [PATCH] fixup! Add automatic PR action --- .github/workflows/check-for-updates.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-for-updates.yml b/.github/workflows/check-for-updates.yml index 3f81bfa..4126a49 100644 --- a/.github/workflows/check-for-updates.yml +++ b/.github/workflows/check-for-updates.yml @@ -16,7 +16,9 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - PR_EXISTS=$(gh pr list --search "Update tzdata to version" --json number --jq '.[] | .number') + PR_EXISTS=$(gh pr --repo $GITHUB_REPOSITORY \ + list --search "Update tzdata to version" \ + --json number --jq '.[] | .number') if [ -n "$PR_EXISTS" ]; then echo "A PR updating the tzdata version already exists, see http://github.com/python/tzdata/pulls/${PR_EXISTS}" exit 0