Skip to content

Commit fedfa89

Browse files
committed
add policies to path
1 parent 20dd5ad commit fedfa89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/naming-convention.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
uses: open-policy-agent/setup-opa@v2
9090
with:
9191
version: 1.10.1
92+
9293
- name: id to title rego
9394
run: |
9495
echo '{"node_id": "${{ env.NODE_ID }}"}' > /tmp/id-to-name.json
@@ -114,7 +115,7 @@ jobs:
114115
- name: Evaluate Policy
115116
run: |
116117
opa eval \
117-
--data attestation-policies/pull_request_ticket_naming_convention.rego \
118+
--data attestation-policies/policies/pull_request_ticket_naming_convention.rego \
118119
--data /tmp/doc_repo.json \
119120
--input "$ATTESTATION_FILE" \
120121
'data.pr_title_ticket_gate.failure_msg[msg]' \

0 commit comments

Comments
 (0)