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

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

Closed
saimedhi opened this issue Feb 7, 2024 · 2 comments
Closed

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

saimedhi opened this issue Feb 7, 2024 · 2 comments
Labels
bug Something isn't working untriaged Need triage

Comments

@saimedhi
Copy link
Collaborator

saimedhi commented Feb 7, 2024

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 saimedhi added bug Something isn't working untriaged Need triage labels Feb 7, 2024
@saimedhi
Copy link
Collaborator Author

saimedhi commented Feb 7, 2024

@dblock, please take a look

@dblock
Copy link
Member

dblock commented Feb 7, 2024

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

@dblock dblock closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Need triage
Projects
None yet
Development

No branches or pull requests

2 participants