diff --git a/.github/workflows/dogfood-gate.yml b/.github/workflows/dogfood-gate.yml index fa7c90c..9343137 100644 --- a/.github/workflows/dogfood-gate.yml +++ b/.github/workflows/dogfood-gate.yml @@ -34,7 +34,7 @@ jobs: shell: bash run: | set -euo pipefail - a2ml_count=$(find . -name '*.a2ml' -not -path './.git/*' | wc -l) + a2ml_count=$(find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' | wc -l) k9_count=$(find . \( -name '*.k9' -o -name '*.k9.ncl' \) -not -path './.git/*' | wc -l) config_count=$(find . \( -name '*.toml' -o -name '*.yaml' -o -name '*.yml' -o -name '*.json' \) \ -not -path './.git/*' -not -path './node_modules/*' -not -path './.deno/*' \ @@ -77,7 +77,7 @@ jobs: if ! grep -qE 'SPDX-License-Identifier:' "$f"; then echo "::error file=$f::missing SPDX-License-Identifier header"; fail=1 fi - done < <(find . -name '*.a2ml' -not -path './.git/*' -print0) + done < <(find . \( -name '*.a2ml' -o -name '*.deed' \) -not -path './.git/*' -print0) [ "$fail" -eq 0 ] || { echo "::error::A2ML envelope check failed"; exit 1; } echo "A2ML envelope check: OK"