Skip to content
This repository was archived by the owner on Nov 15, 2025. It is now read-only.
This repository was archived by the owner on Nov 15, 2025. It is now read-only.

Conflict from Multiple Pytest Triggers on Hetzner Prod Workflow #24

@RusticPotatoes

Description

@RusticPotatoes

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."}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions