@oss-autopilot/core 3.40.1 → 3.40.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1245,10 +1245,16 @@ export const commands = [
1245
1245
  .action((url, options) => executeAction(options, async () => (await import('./commands/dismiss.js')).runDismiss({ url, head: options.head }), (data) => {
1246
1246
  if (data.dismissed) {
1247
1247
  console.log(`Dismissed: ${url}`);
1248
- console.log('Notifications are now muted.');
1249
- console.log(options.head
1250
- ? 'A new push or a comment after this point will resurface it automatically.'
1251
- : 'New responses after this point will resurface automatically.');
1248
+ if (data.warning) {
1249
+ // An open PR stays in Needs Attention: the mute lines would be false (#1885).
1250
+ console.log(`Warning: ${data.warning}`);
1251
+ }
1252
+ else {
1253
+ console.log('Notifications are now muted.');
1254
+ console.log(options.head
1255
+ ? 'A new push or a comment after this point will resurface it automatically.'
1256
+ : 'New responses after this point will resurface automatically.');
1257
+ }
1252
1258
  }
1253
1259
  else {
1254
1260
  console.log('Already dismissed.');