Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove push protection from backport branches #7832

Open
roberth opened this issue Feb 14, 2023 · 1 comment
Open

Remove push protection from backport branches #7832

roberth opened this issue Feb 14, 2023 · 1 comment
Labels
bug process Issues related to the development process of Nix

Comments

@roberth
Copy link
Member

roberth commented Feb 14, 2023

Describe the bug

Pushing to backport branches is a good way to fix backports that don't pass CI.

Steps To Reproduce

  1. Try to push to backport-7616-to-2.13-maintenance
[...]
remote: Resolving deltas: 100% (18/18), completed with 6 local objects.
remote: error: GH006: Protected branch update failed for refs/heads/backport-7616-to-2.13-maintenance.
remote: error: Changes must be made through a pull request. Cannot force-push to this branch
To https://github.com/NixOS/nix.git
 ! [remote rejected]     backport-7616-to-2.13-maintenance -> backport-7616-to-2.13-maintenance (protected branch hook declined)
error: failed to push some refs to 'https://github.com/NixOS/nix.git'

Expected behavior

Team members can push to backport branches.

nix-env --version output

Additional context

Priorities

Add 👍 to issues you find important.

@roberth roberth added bug process Issues related to the development process of Nix labels Feb 14, 2023
@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-03-03-nix-team-meeting-minutes-37/25998/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug process Issues related to the development process of Nix
Projects
None yet
Development

No branches or pull requests

2 participants