Skip to content

test and finalize action #6

test and finalize action

test and finalize action #6

Workflow file for this run

name: 'Aiven Terraform Governance Compliance Check'
on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
pull_request_review:
types: [submitted, dismissed, edited]
jobs:
aiven_terraform_governance_compliance_check:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
id: "checkout"
uses: actions/checkout@v4
- name: "Aiven Terraform Governance Compliance Check"
id: "compliance-check"
uses: ./
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AIVEN_API_TOKEN: ${{ secrets.AIVEN_API_TOKEN }}
- run: |
if [ $(echo ${{ steps.compliance-check.outputs.result }} | jq '.ok') == "true" ]
then
echo "OK"
else
echo $RESULT | jq
exit 1
fi