File tree Expand file tree Collapse file tree
.github/actions/is-commit Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 echo "Found $pr_count merged PR(s) associated with this commit → skip"
6161 pr_numbers=$(echo "$search_result" | jq -r '.items[].number')
6262 echo "PR Numbers: $pr_numbers"
63+ # Явно устанавливаем output для GitHub Actions
6364 echo "pr_numbers=$pr_numbers" >> $GITHUB_OUTPUT
6465 echo "proceed=false" >> $GITHUB_OUTPUT
6566 exit 0
@@ -72,11 +73,14 @@ runs:
7273 echo "Found $count PR(s) — this is a merge/squash → skip"
7374 pr_numbers=$(echo "$response" | jq -r '.[].number')
7475 echo "PR Numbers: $pr_numbers"
76+ # Явно устанавливаем output для GitHub Actions
7577 echo "pr_numbers=$pr_numbers" >> $GITHUB_OUTPUT
7678 echo "proceed=false" >> $GITHUB_OUTPUT
77- exit 0
7879 else
7980 echo "No PR associated → normal commit"
81+ # Явно устанавливаем output для GitHub Actions
8082 echo "proceed=true" >> $GITHUB_OUTPUT
8183 echo "pr_numbers=" >> $GITHUB_OUTPUT
84+ # Выводим и на экран для отладки
85+ echo "Set proceed=true"
8286 fi
You can’t perform that action at this time.
0 commit comments