Skip to content

Commit f672ef3

Browse files
fix: yamllint compliance (bracket spacing, trailing spaces)
1 parent 1ccb79d commit f672ef3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Test Workflows
22

33
on:
44
pull_request:
5-
branches: [ main ]
5+
branches: [main]
66
push:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
yaml-lint:
@@ -72,13 +72,11 @@ jobs:
7272
for file in .github/workflows/*.yml .github/workflows/*.yaml; do
7373
if [ -f "$file" ] && grep -q "workflow_call:" "$file"; then
7474
echo "Validating reusable workflow secrets in $file"
75-
7675
# Check if workflow uses secrets but doesn't declare them
7776
if grep -q "secrets\." "$file" && ! grep -q "secrets:" "$file"; then
7877
echo "ERROR: $file uses secrets but doesn't declare them in workflow_call"
7978
exit 1
8079
fi
81-
8280
# Check for required ANTHROPIC_API_KEY if Claude CLI is used
8381
if grep -q "claude\|anthropic" "$file" && ! grep -q "ANTHROPIC_API_KEY" "$file"; then
8482
echo "WARNING: $file appears to use Claude but doesn't require ANTHROPIC_API_KEY secret"

0 commit comments

Comments
 (0)