[llvm-branch-commits] [llvm] [CI] Make premerge_advisor_explain write comments (PR #166605)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 6 08:49:40 PST 2025


================
@@ -33,17 +33,18 @@ function at-exit {
   # If building fails there will be no results files.
   shopt -s nullglob
 
-  if [[ "$GITHUB_STEP_SUMMARY" != "" ]]; then
+  if [[ "$GITHUB_ACTIONS" != "" ]]; then
----------------
boomanaiden154 wrote:

This checks that we are running in a Github actions workflow (as opposed to running locally or inside buildbot). We don't need to change what we're looking for (`GITHUB_STEP_SUMMARY` is implied by `GITHUB_ACTIONS`), but I felt changing it up made it more clear given we are now also running other scripts inside this conditional that don't have anything to do with the step summary.

https://github.com/llvm/llvm-project/pull/166605


More information about the llvm-branch-commits mailing list