opensearch-project / opensearch-py

Python Client for OpenSearch
https://opensearch.org/docs/latest/clients/python/
Apache License 2.0
359 stars 178 forks source link

[BUG]Fix 'update-api' action #670

Closed saimedhi closed 9 months ago

saimedhi commented 9 months ago

What is the bug?

update-api is failing with below error.

 remote: error: GH006: Protected branch update failed for refs/heads/automated-api-update.        
  remote: error: Changes must be made through a pull request. Cannot force-push to this branch 

What is the expected behavior?

fix update-api action

saimedhi commented 9 months ago

@dblock, please take a look

dblock commented 9 months ago

I created a new branch protection rule for automated-api-update that allows forced pushes and re-ran the job. https://github.com/opensearch-project/opensearch-py/actions/runs/7791926376/job/21340305981