We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c89cfac commit 1aec315Copy full SHA for 1aec315
1 file changed
.github/workflows/attestor.yml
@@ -59,10 +59,9 @@ jobs:
59
60
- name: fetch policy file
61
run: |
62
- # curl -o policy.rego "$POLICY_URL"
+ curl -o policy.rego "${{ inputs.policy-url }}"
63
cat policy.rego
64
65
-
66
- name: Download OPA
67
uses: open-policy-agent/setup-opa@v2
68
with:
@@ -73,7 +72,7 @@ jobs:
73
72
74
echo '{"documentation_repo": "${{ inputs.documentation-repo }}"}' > /tmp/doc_repo.json
75
opa eval \
76
- --data policy.rego \
+ --data "${{inputs.policy-url}}" \
77
--data /tmp/doc_repo.json \
78
--input "$OUTPUT_FILE" \
79
'data.documentationMerged.failure_msg' \
0 commit comments