csweichel / werft

Just Kubernetes Native CI
https://werft.dev
MIT License
190 stars 39 forks source link

Annotations in PR descriptions are duplicated in jobs that are triggered with PRs are opened #172

Open mads-hartmann opened 2 years ago

mads-hartmann commented 2 years ago

Describe the bug

It appears that any Werft annotations (in checkboxes or simply /werft attribute=value) gets duplicated in the job that is started when a PR is opened.

They don't get duplicated on subsequent jobs (e.g. if you start a new one from the PR using /werft run)

To Reproduce

See this PR and the screenshot in this comment. In gitpod-build-mads-verify-fix-for-pr-open-attributes-2.1 the foo and with-preview annotations are duplicated, but in gitpod-build-mads-verify-fix-for-pr-open-attributes-2.2 they are not.

Expected behavior

I would expect to only get the annotations set once ☺️

Screenshots

See screenshow in "To Reproduce" above.

Additional context

None