wikisource In Command.php line 166: The command "cd 'wsexport'; git add .; if ! git diff --cached --quiet; then git commit -m 'Localisation updates from https://translatewiki.net.'; git rebase 'origin/main' && git push origin 'main'; fi" failed. Exit Code: 1(General error) Working directory: /scratch/exports Output: ================ [main 89383d6] Localisation updates from https://translatewiki.net. 1 file changed, 7 insertions(+), 1 deletion(-) Current branch main is up to date. Error Output: ================ remote: error: GH006: Protected branch update failed for refs/heads/main. remote: error: Changes must be made through a pull request. To github.com:wikimedia/ws-export.git ! [remote rejected] main -> main (protected branch hook declined) error: failed to push some refs to 'github.com:wikimedia/ws-export.git' commit [--variant VARIANT] [--filter FILTER] [--backport-branch BACKPORT-BRANCH] [--] <project>
Description
Description
Event Timeline
Comment Actions
You need to give sufficient permission for out bot to push translation updates. We also support pull requests, but you need to give us a branch where we can push and create pull request from. You also need to merge the pull requests manually.
Comment Actions
Ah, I was looking at the permissions for the translatewiki user; but actually it was the branch protection rule that was breaking it! I've removed that now — does it work again?
Sorry about this!
Comment Actions
Unless someone does a manual test, we can check if the next automatic export works. That's on Thursday.
Comment Actions
Blocker has been removed:
wikisource cd 'wsexport'; git add .; if ! git diff --cached --quiet; then git commit -m 'Localisation updates from https://translatewiki.net.'; git rebase 'origin/main' && git push origin 'main'; fi [main d034363] Localisation updates from https://translatewiki.net. 1 file changed, 7 insertions(+), 1 deletion(-) Current branch main is up to date. remote: remote: GitHub found 1 vulnerability on wikimedia/ws-export's default branch (1 moderate). To find out more, visit: remote: https://github.com/wikimedia/ws-export/security/dependabot/19 remote: To github.com:wikimedia/ws-export.git 5340b77..d034363 main -> main
Thank you!