This message was deleted.
# atlantis-community
s
This message was deleted.
k
OR can it be used with the custom policy checks ?
Copy code
repos:
  - id: /.*/
    branch: /^main$/
    apply_requirements: [mergeable, undiverged, approved]
    policy_check: true
    custom_policy_check: true
    workflow: custom
workflows:
  custom:
    policy_check:
      steps:
        - show
        - run: cnspec scan terraform plan $SHOWFILE --policy-bundle example-cnspec-policies.mql.yaml 
policies:
  owners:
    users:
      - example_ghuser
  policy_sets:
    - name: example-set
      path: example-cnspec-policies.mql.yaml 
      source: local
if I use a custom policy check as above is it possible to set custom approver as below ?
Copy code
workflows:
  custom:
    policy_check:
      owner: <approver 1>
      steps:
        - show
        - run: cnspec scan terraform plan $SHOWFILE --policy-bundle