Skip to content

Commit

Permalink
fixed dumb typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Morgan committed Oct 19, 2024
1 parent 71773cc commit 4397f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
permissions:
contents: read
id-token: write
pull-request: write
pull-requests: write

jobs:
terraform:
Expand Down 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 9 --body "### $opaout" && exit 1
[ -z "$opaout" ] && exit 0 || echo "$opaout" && gh pr comment ${{ github.event.pull_request.number }} --body "### $opaout" && exit 1

0 comments on commit 4397f7c

Please sign in to comment.