Skip to content

Commit

Permalink
updated plan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Morgan committed Oct 19, 2024
1 parent 7457cce commit 71773cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ jobs:
- name: Run OPA Tests
run: |
opaout=$(opa eval --data ../policies/plan.rego --input /tmp/plan.json "data.terraform.deny" | jq -r '.result[].expressions[].value[]')
[ -z "$opaout" ] && exit 0 || echo "$opaout" && gh pr comment ${{ github.event.pull_request.number }} --body "### $opaout" && exit 1
[ -z "$opaout" ] && exit 0 || echo "$opaout" && gh pr comment 9 --body "### $opaout" && exit 1

0 comments on commit 71773cc

Please sign in to comment.