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

Conflict from Multiple Pytest Triggers on Hetzner Prod Workflow #24

Open
RusticPotatoes opened this issue Nov 2, 2023 · 0 comments
Open

Comments

@RusticPotatoes
Copy link
Contributor

When we have multiple push or pull requests into the same branch our hetzner-prod-workflow.yml workflow fails.

For example:
this pull request triggered the pytest workflow
https://github.com/Bot-detector/public-api/actions/runs/6736122705

however during it's run a bug was discovered and patched causing another workflow to trigger the pytest workflow so they were running consecutively.
https://github.com/Bot-detector/public-api/actions/runs/6736228067/job/18311282520

causing the error message in the hetzner workflow:

update_image_version
HttpError: Validation Failed: {"resource":"PullRequest","code":"custom","message":"A pull request already exists for Bot-detector:public-api-prd/deployment.yaml_eb5902d."}
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

1 participant