client_golang icon indicating copy to clipboard operation
client_golang copied to clipboard

Skip label removal/readd if PR description changed by type didn't

Open ArthurSens opened this issue 7 months ago • 0 comments

In our current auto-label workflow, when a PR is edited, we first remove the changelog-related label and after that we re-add them.

We see two problems with this:

  • If a PR description changes but /kind doesn't, we're doing unnecessary work when we remove and re-add the same thing.
  • We've been noticing some race conditions (not sure where exactly). Sometimes the label is removed but is not re-added again, causing the workflow to fail.

ArthurSens avatar Jun 28 '24 20:06 ArthurSens