Commit 83ad8dbf4308
Changed files (1)
dots
config
gh-news
dots/config/gh-news/config.toml
@@ -66,5 +66,5 @@ show_output = true
[[actions]]
name = "Review with Pi"
-command = "cd $(repo-find {full_name}) && pir '/review {url}'"
+command = "cd $(repo-find {full_name}) && if [ {type} = 'PR' ]; then pir '/review {url}'; else pir 'Analyze and summarize this GitHub issue: {url}'; fi"
interactive = true