ci: fix agent kit compliance checks
This commit is contained in:
@@ -5,6 +5,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- codex/production-intelligence-terminal
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -38,7 +39,11 @@ jobs:
|
||||
|
||||
for path in "${placeholder_paths[@]}"; do
|
||||
[ -e "$path" ] || continue
|
||||
if grep -RInE --exclude-dir=.git "$placeholder_pattern" "$path"; then
|
||||
if grep -RInE \
|
||||
--exclude-dir=.git \
|
||||
--exclude=release-dry-run.yml \
|
||||
--exclude=template-compliance.yml \
|
||||
"$placeholder_pattern" "$path"; then
|
||||
echo "Unresolved template placeholders found."
|
||||
missing=1
|
||||
fi
|
||||
|
||||
@@ -5,6 +5,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- codex/production-intelligence-terminal
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -58,7 +59,11 @@ jobs:
|
||||
|
||||
for path in "${paths[@]}"; do
|
||||
[ -e "$path" ] || continue
|
||||
if grep -RInE --exclude-dir=.git "$pattern" "$path"; then
|
||||
if grep -RInE \
|
||||
--exclude-dir=.git \
|
||||
--exclude=release-dry-run.yml \
|
||||
--exclude=template-compliance.yml \
|
||||
"$pattern" "$path"; then
|
||||
found=1
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user