proud-dentist-22844
03/31/2023, 7:11 PMenough-analyst-54434
03/31/2023, 7:21 PM$ git push upstream :cherry-pick-18610-to-2.16.x
remote: error: GH006: Protected branch update failed for refs/heads/cherry-pick-18610-to-2.16.x.
remote: error: Cannot delete this branch
To <https://github.com/pantsbuild/pants>
! [remote rejected] cherry-pick-18610-to-2.16.x (protected branch hook declined)
error: failed to push some refs to '<https://github.com/pantsbuild/pants>'
I'll temporarily disable branch protection / do it / re-enable.proud-dentist-22844
03/31/2023, 7:22 PMfast-nail-55400
03/31/2023, 7:24 PMproud-dentist-22844
03/31/2023, 7:24 PM*.x
or similar.enough-analyst-54434
03/31/2023, 7:24 PMfast-nail-55400
03/31/2023, 7:24 PM^
and $
enough-analyst-54434
03/31/2023, 7:25 PMproud-dentist-22844
03/31/2023, 7:26 PM1.*.x
and 2.*.x
enough-analyst-54434
03/31/2023, 7:27 PMfast-nail-55400
03/31/2023, 7:28 PM[1-2].*.x
enough-analyst-54434
03/31/2023, 7:32 PMproud-dentist-22844
03/31/2023, 7:35 PMgh
to push the branch. When prompted, I selected pushing to pantsbuild/pants instead of my fork. That said, changing the branch name it creates could resolve this.
Though I did have to make one modification to the script for it to succeed: looks like github api is prefixing app/
on author login names for some weird reason.enough-analyst-54434
03/31/2023, 7:36 PM