mirror of
https://github.com/status-im/status-github-bot.git
synced 2025-02-04 17:33:57 +00:00
Don't try to move project cards to the same column
This commit is contained in:
parent
04c257636f
commit
6dc2582870
@ -240,6 +240,10 @@ async function assignPullRequestToCorrectColumn (github, robot, repo, pullReques
|
||||
try {
|
||||
robot.log.trace(`Found card in source column ${srcColumn.name}`, existingGHCard.id, srcColumn.id)
|
||||
|
||||
if (dstColumn === srcColumn) {
|
||||
return
|
||||
}
|
||||
|
||||
if (process.env.DRY_RUN || process.env.DRY_RUN_PR_TO_TEST) {
|
||||
robot.log.info(`Would have moved card ${existingGHCard.id} to ${dstColumn.name} for PR #${prNumber}`)
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user