We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d4d51 commit 14b2953Copy full SHA for 14b2953
1 file changed
.github/workflows/check-for-updates.yml
@@ -21,10 +21,11 @@ jobs:
21
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
run: |
23
PR_EXISTS=$(gh pr --repo "$GITHUB_REPOSITORY" \
24
- list --search "Update tzdata to version" \
+ list --state open \
25
+ --search 'in:title "Update tzdata to version"' \
26
--json number --jq '.[] | .number')
27
if [ -n "$PR_EXISTS" ]; then
- echo "A PR updating the tzdata version already exists: https://github.com/python/tzdata/pulls/${PR_EXISTS}"
28
+ echo "A PR updating the tzdata version already exists: https://github.com/python/tzdata/pull/${PR_EXISTS}"
29
echo "pr_exists=true" >> "$GITHUB_OUTPUT"
30
exit 0
31
else
0 commit comments