This repository was archived by the owner on Jun 16, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 - name : fetch policy file
6161 run : |
6262 curl -o policy.rego "${{ inputs.policy-url }}"
63- cat policy.rego
63+ cat policy.rego > POLICY_REGO
6464
6565 - name : Download OPA
6666 uses : open-policy-agent/setup-opa@v2
7272 run : |
7373 echo '{"documentation_repo": "${{ inputs.documentation-repo }}"}' > /tmp/doc_repo.json
7474 opa eval \
75- --data "${{inputs.policy-url}} " \
75+ --data "$POLICY_REGO " \
7676 --data /tmp/doc_repo.json \
7777 --input "$OUTPUT_FILE" \
7878 'data.documentationMerged.failure_msg' \
Original file line number Diff line number Diff line change 1+ change attestor path
2+ # Please enter the commit message for your changes. Lines starting
3+ # with '#' will be ignored, and an empty message aborts the commit.
4+ #
5+ # On branch add-documentation-policy
6+ # Your branch is up to date with 'origin/add-documentation-policy'.
7+ #
8+ # Changes to be committed:
9+ # modified: .github/workflows/attestor.yml
10+ #
You can’t perform that action at this time.
0 commit comments