Skip to content

[Bug]: Release pipeline failed to publish helm chart to nginxinc/helm-charts due to branch protection #10069

@haywoodsh

Description

@haywoodsh

Version

edge

What Kubernetes platforms are you running on?

Kind

Steps to reproduce

The release pipeline tries to push the helm chart to the master branch of the nginxinc/helm-charts but it was not allowed. The suggestion was to create a branch and create a PR instead

Run mv nginx-ingress-2.5.3.tgz /opt/actions-runner/_work/kubernetes-ingress/kubernetes-ingress/helm-charts/stable/
[master 28e8331] NGINX Ingress Controller - Release 2.5.3
 2 files changed, 215 insertions(+), 194 deletions(-)
 create mode 100644 stable/nginx-ingress-2.5.3.tgz
remote: error: GH006: Protected branch update failed for refs/heads/master.        
remote: 
remote: - Changes must be made through a pull request.        
To https://github.com/nginxinc/helm-charts
 ! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'https://github.com/nginxinc/helm-charts'
Error: Process completed with exit code 1.

https://github.com/nginx/kubernetes-ingress/actions/runs/26309452972/job/77454324836#step:13:19

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo ☑

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions