Don't emit log messages about issues with no changes.
This commit is contained in:
parent
c8b848d89b
commit
305da2b7d7
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ async fn run() -> anyhow::Result<()> {
|
||||||
.with_context(|| format!("Failed to find or make bot comment in issue #{issue}"))?;
|
.with_context(|| format!("Failed to find or make bot comment in issue #{issue}"))?;
|
||||||
|
|
||||||
if bot_comment.body.contains(&hash) {
|
if bot_comment.body.contains(&hash) {
|
||||||
log::info!("Issue #{issue} is up-to-date, not editing comment.");
|
log::debug!("Issue #{issue} is up to date, not editing comment.");
|
||||||
issue::remove_stale_label(&ctx, issue)
|
issue::remove_stale_label(&ctx, issue)
|
||||||
.await
|
.await
|
||||||
.with_context(|| format!("Failed to remove `Stale` label from issue #{issue}"))?;
|
.with_context(|| format!("Failed to remove `Stale` label from issue #{issue}"))?;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue