Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ede9fd9
fix bug in run_tests logic
sean-breen Jun 24, 2026
a207440
wider net for docs_only
sean-breen Jun 25, 2026
5742781
Merge branch 'main' into chore/sb-ci-updates
sean-breen Jul 2, 2026
35c8d2c
fix docs_only detection, and enable for merge queue
sean-breen Jul 2, 2026
c7a72a9
Merge branch 'main' into chore/sb-ci-updates
sean-breen Jul 2, 2026
caea766
address feedback
sean-breen Jul 7, 2026
9ffea18
Potential fix for pull request finding
sean-breen Jul 7, 2026
531af52
gate all logic via variables.sh
sean-breen Jul 7, 2026
1fa0c69
merge main into chore/sb-ci-updates
sean-breen Jul 7, 2026
b102857
add back missing file
sean-breen Jul 7, 2026
a94baeb
cant use empty needs
sean-breen Jul 8, 2026
1681951
fix tag_stable logic, doesnt run on docs_only
sean-breen Jul 9, 2026
ec1dd2a
allow inspection of which jobs failed
sean-breen Jul 9, 2026
6fba7c7
Merge branch 'main' into chore/sb-ci-updates
sean-breen Jul 9, 2026
53cc407
update logic around CI flags
sean-breen Jul 9, 2026
02c7b1f
prevent unnecessary rebuilds when modifying files that do not affect …
sean-breen Jul 13, 2026
63a86d2
dont build for helm tests when a stable tag exists
sean-breen Jul 13, 2026
1c99f97
Merge branch 'main' into chore/sb-ci-updates
sean-breen Jul 13, 2026
abca8c6
add prompts dir to exclusion list
sean-breen Jul 14, 2026
2abbd40
remove redundant run_build variable
sean-breen Jul 14, 2026
cd52acc
full-build only when force is true
sean-breen Jul 15, 2026
db9ef51
Merge branch 'main' into chore/sb-ci-updates
sean-breen Jul 20, 2026
ed135cf
remove test make targets
sean-breen Jul 20, 2026
04a454a
add ci-preview scripts and make targets
sean-breen Jul 20, 2026
d06c778
Merge branch 'main' into chore/sb-ci-updates
sean-breen Jul 20, 2026
58f6b5f
short-circuit the e2e and tag-stable checks when build-artifacts did …
sean-breen Jul 20, 2026
bb85131
set-matrix
sean-breen Jul 21, 2026
a25440a
fix gating for e2e jobs + final ci results
sean-breen Jul 21, 2026
12ec6a0
Merge branch 'main' into chore/sb-ci-updates
vepatel Jul 22, 2026
65b0338
check for target_exists, and force a rebuild if not
sean-breen Jul 22, 2026
631d567
Merge branch 'main' into chore/sb-ci-updates
sean-breen Aug 5, 2026
9517d8a
Merge branch 'main' into chore/sb-ci-updates
sean-breen Aug 11, 2026
b77abba
Merge branch 'main' into chore/sb-ci-updates
sean-breen Aug 12, 2026
a93dccb
pr feedback
sean-breen Aug 12, 2026
e952897
merge main
sean-breen Aug 12, 2026
05034cb
add developer doc, and update skill
sean-breen Aug 12, 2026
8660787
fix repo paths
sean-breen Aug 12, 2026
63ab118
fix failing test
sean-breen Aug 12, 2026
169ffc9
fix failing test
sean-breen Aug 12, 2026
33c1dd8
fix arch mismatch?
sean-breen Aug 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/scripts/validate-workflow-gating.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ main() {

if ! validate_if_condition "$job_name" "$if_cond"; then
if [ "$file_has_errors" -eq 0 ]; then
# Blank line separates each file's group of errors for readability.
echo ""
echo "❌ File '$file' has ungated or poorly gated jobs:"
file_has_errors=1
fi
Expand All @@ -119,7 +121,8 @@ main() {
done

if [ "$errors" -ne 0 ]; then
echo "❌ Workflow validation failed! All public jobs must have strict repository gating."
echo ""
echo "❌ Workflow validation failed! Found ${errors} issues."
exit 1
else
echo "✅ All public workflows are successfully gated."
Expand Down
19 changes: 17 additions & 2 deletions .github/scripts/variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,24 @@ get_k8s_latest_version() {
echo "$K8S_LATEST_VERSION"
}

# Outputs docs_only=true if all changed files match doc paths (*.md, docs/**, examples/**)
# Outputs docs_only=true if all changed files (vs. PR/merge base) match doc paths.
# Doc paths include: *.md, docs/**, examples/**, site/**, .github/ISSUE_TEMPLATE/**,
# .github/PULL_REQUEST_TEMPLATE.md, CHANGELOG*, LICENSE, CODEOWNERS.
get_docs_only() {
non_doc_files=$(git diff --name-only HEAD^ | grep -Ev '(\.md$|^docs/|^examples/)')
local range
if [ -n "${GITHUB_BASE_REF:-}" ]; then
# PR or merge_group event: compare against the target branch.
git fetch --quiet --depth=50 origin "${GITHUB_BASE_REF}" 2>/dev/null || true

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any specific reason for 50 commit depth?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we rely on the the checkout action using a fetch depth of 0 here?

range="origin/${GITHUB_BASE_REF}...HEAD"
else
range="HEAD^...HEAD"
fi
local diff_output
if ! diff_output=$(git diff --name-only "${range}" 2>/dev/null); then
echo "docs_only=false"
return
fi
non_doc_files=$(echo "$diff_output" | grep -Ev '(\.md$|^docs/|^examples/|^site/|^\.github/ISSUE_TEMPLATE/|^\.github/PULL_REQUEST_TEMPLATE\.md$|^CHANGELOG|^LICENSE$|^CODEOWNERS$)' || true)
if [ -z "$non_doc_files" ]; then
echo "docs_only=true"
else
Expand Down
Loading
Loading