Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rfd-processor/src/updater/create_pull_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ impl RfdUpdateAction for CreatePullRequest {
..
} = ctx;

// We only ever create pull requests if the RFD is in the discussion state, we are not
// We only ever create pull requests if the RFD is in the discussion or ideation state, we are not
// handling an update on the default branch, and there are no previous pull requests for
// for this branch. This includes Closed pull requests, therefore this action will not
// re-open or create a new pull request for a branch that previously had an open PR
if update.location.branch != update.location.default_branch
&& new.is_state("discussion")
&& (new.is_state("discussion") || new.is_state("ideation"))
&& pull_requests.is_empty()
{
tracing::info!("RFD is in the discussion state but there are no open pull requests, creating a new pull request");
Expand Down
Loading