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

Hourly CI updates broken due to protected main branch #1138

Closed
infinisil opened this issue Oct 26, 2023 · 6 comments
Closed

Hourly CI updates broken due to protected main branch #1138

infinisil opened this issue Oct 26, 2023 · 6 comments

Comments

@infinisil
Copy link
Member

Since about 3 weeks ago the hourly CI updates and deploys started failing due to branch protection seemingly being turned on at that point. This leads to the unstable manuals on the homepage being very outdated.

This is the first CI update failure: https://github.com/NixOS/nixos-homepage/actions/runs/6386890594/job/17334343347

remote: error: GH006: Protected branch update failed for refs/heads/master.        
remote: error: Changes must be made through a pull request.        
To https://github.com/NixOS/nixos-homepage
 ! [remote rejected] HEAD -> master (protected branch hook declined)
error: failed to push some refs to 'https://github.com/NixOS/nixos-homepage'

Should be fixed by just turning off branch protection again.

Ping @NixOS/marketing-team

@garbas
Copy link
Member

garbas commented Oct 30, 2023

thank you @infinisil I've removed the protection and rerun the hourly updates.

@garbas garbas closed this as completed Oct 30, 2023
@infinisil
Copy link
Member Author

The update failed, but I submitted a fix here: #1142

@infinisil
Copy link
Member Author

Yet again branch protection has been turned on, breaking the regular updates.. https://github.com/NixOS/nixos-homepage/actions/runs/8855609505/job/24320730665

@infinisil infinisil reopened this Apr 27, 2024
@infinisil
Copy link
Member Author

The last succeeding build was 1.5 months ago! This is why I'm not finding any updates to the manuals recently 😞

@thilobillerbeck
Copy link
Collaborator

unfortunately I don't have the rights to fix this, tagging @garbas here

@infinisil
Copy link
Member Author

Update on this: So there's a new separate workflow that only runs weekly now and opens PR's instead of pushing directly. And apparently the old workflow that ran daily and does direct pushes hasn't been removed yet. Makes all sense now!

It is unfortunate that even the unstable manual only gets updated once a week now.. Originally it was once an hour!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants