Skip to content

Commit

Permalink
[Ownership] Add quick check to prevent test files from being added wi…
Browse files Browse the repository at this point in the history
…thout an owner (elastic#201979)

## Summary

Add quick check to prevent test files from being added without an owner

Resolves: elastic#192979

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Robert Oskamp <[email protected]>
  • Loading branch information
3 people authored Dec 2, 2024
1 parent 378002f commit 10f5056
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .buildkite/scripts/steps/checks/quick_checks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
.buildkite/scripts/steps/checks/prettier_topology.sh
.buildkite/scripts/steps/checks/renovate.sh
.buildkite/scripts/steps/checks/native_modules.sh
.buildkite/scripts/steps/checks/test_files_missing_owner.sh
8 changes: 8 additions & 0 deletions .buildkite/scripts/steps/checks/test_files_missing_owner.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

set -euo pipefail

source .buildkite/scripts/common/util.sh

echo --- Check for Test Files missing an owner
node scripts/check_ftr_code_owners

0 comments on commit 10f5056

Please sign in to comment.