From 71773cc90234d3187b3a13b8840ac0cc5a40393b Mon Sep 17 00:00:00 2001 From: Derek Morgan <79756941+morethancertified@users.noreply.github.com> Date: Sat, 19 Oct 2024 18:33:19 +0000 Subject: [PATCH] updated plan.yml --- .github/workflows/plan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/plan.yml b/.github/workflows/plan.yml index 8e3868a..7db8d26 100644 --- a/.github/workflows/plan.yml +++ b/.github/workflows/plan.yml @@ -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