Skip to content

openedx-webhooks only considers repo-specific info for labeling and rejects manual overrides #159

@itsjeyd

Description

@itsjeyd

Epic

#134: Improving OSPR Management

Story

"As an OSPR manager, I want

  1. openedx-webhooks to add the core contributor label to all OSPRs coming from CCs, and
  2. the ability to override the bot's decisions if necessary

... so that the presence or absence of the core contributor label on an OSPR correctly reflects the author's status."

Full description

Follows up on #155.

The automation implemented in #155 seems to work as expected for some repositories (e.g. ones where the author of an OSPR is a CC for the parent repository).

However, it doesn't seem to be adding the core contributor label to an OSPR -- at least not reliably -- if the author is a CC but doesn't have CC status on the parent repository of the OSPR.

In this situation, attempting to add the core contributor label manually results in the bot removing the label right away:

bot-rejecting-core-contributor-label

The purpose of this ticket is to update the behavior of the bot to add the core contributor label based on global CC status, and to allow users with relevant permissions (such as OSPR managers) to add the label manually if necessary.

Examples

PRs where the automation worked as expected:

PRs that should have gotten the core contributor label but didn't:

Behavioral specifications

N/A

Documentation updates & improvements criteria

Left to the assignee's appreciation

Relevant repositories

Review timeline

Flexible

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions