Page MenuHomePhabricator

Translation update failure
Closed, ResolvedPublic

Description

The command "cd 'mwgithub/femiwiki/FemiwikiSkin'; git add .; if ! git diff --cached --quiet; then git commit -m 'Localisation updates from https://translatewiki.net.'; git rebase 'origin/master' && git push origin 'master'; fi" failed.                                                                                                                                                                                       
                                                                                                                                                                                                                  
Exit Code: 1(General error)                                                                                                                                                                                       
                                                                                                                                                                                                                  
Working directory: /scratch/nike                                                                                                                                                                                  
                                                                                                                                                                                                                  
Output:                                                                                                                                                                                                           
================                                                                                                                                                                                                  
[master 7706fa3] Localisation updates from https://translatewiki.net.                                                                                                                                             
 1 file changed, 3 insertions(+)                                                                                                                                                                                  
Current branch master is up to date.                                                                                                                                                                              
                                                                                                                                                                                                                  
                                                                                                                                                                                                                  
Error Output:                                                                                                                                                                                                     
================                                                                                                                                                                                                  
remote: error: GH006: Protected branch update failed for refs/heads/master.                                                                                                                                       
remote: error: At least 1 approving review is required by reviewers with write access.                                                                                                                            
To github.com:femiwiki/FemiwikiSkin.git                                                                                                                                                                           
 ! [remote rejected] master -> master (protected branch hook declined)                                                                                                                                            
error: failed to push some refs to 'git@github.com:femiwiki/FemiwikiSkin.git'

If you do not wish to have direct push to master, we can push to another branch and do a pull request.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 29 2020, 1:11 PM

Oops, I forgot the issue. Even though that was told me at https://phabricator.wikimedia.org/T235938#5592510
I have fixed the code by changing our Terraform code(https://github.com/femiwiki/infra/commit/a04c5c0). Can I ask you to retry?

If you do not wish to have direct push to master, we can push to another branch and do a pull request.

I'm satisfied with direct push to master :)

Nikerabbit closed this task as Resolved.Oct 29 2020, 2:08 PM

Confirmed.