Skip to content

Commit e1441d9

Browse files
fix
1 parent 5aa2cf2 commit e1441d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test-update-rule-metadata.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,10 @@ jobs:
178178
echo "Testing that vault secrets include GitHub token..."
179179
180180
# Test that the vault step retrieves a GitHub token for private rspec repo access
181-
if grep -A10 "Get vault secrets" update-rule-metadata/action.yml | grep -q "development/github/token/{REPO_OWNER_NAME_DASH}-${{ inputs.rspec-token-suffix"; then
181+
TOKEN='${'
182+
TOKEN+="{ inputs.rspec-token-suffix || 'rspec-read' }"
183+
TOKEN+='}'
184+
if grep -A10 "Get vault secrets" update-rule-metadata/action.yml | grep -q "development/github/token/{REPO_OWNER_NAME_DASH}-${TOKEN}"; then
182185
echo "✓ GitHub token vault secret path found"
183186
else
184187
echo "✗ GitHub token vault secret path not found in vault step"

0 commit comments

Comments
 (0)