File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments