Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚚 Use a different method to check for daily Weblate updates (#5760)
We used to use `wlc repo` to try and see if Weblate flushed its changes to a PR. Weblate always shows `needs_push: True`, even if it *did* create a PR, so that is not a reliable check. Instead, we use the GitHub CLI to check for a PR with the title that Weblate always creates. We already check for the absence of such a PR at the start of the script, so if a PR exists at the end of it, it must be because Weblate created it, and we can safely reset. Context: WeblateOrg/weblate#12400
- Loading branch information