diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5215744..e14720a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1,2 @@ -* @deliveroo/consumer-search \ No newline at end of file +* @deliveroo/consumer-search +**/codeowner-check.yml @deliveroo/product-sec-eng # DO NOT MODIFY/REMOVE, AUTOGENERATED by DevSecOps diff --git a/.github/workflows/codeowner-check.yml b/.github/workflows/codeowner-check.yml new file mode 100644 index 0000000..ce62bcb --- /dev/null +++ b/.github/workflows/codeowner-check.yml @@ -0,0 +1,13 @@ +name: CODEOWNERS Validation Call + +on: + pull_request: + types: [opened, synchronize, reopened] + +permissions: + contents: read + pull-requests: read + +jobs: + validate_codeowners: + uses: deliveroo/GHAS-enablement-repo/.github/workflows/codeowners-validation.yml@main