Skip to content

Commit

Permalink
docs: fix policy-check example
Browse files Browse the repository at this point in the history
  • Loading branch information
naorpeled committed Jun 14, 2022
1 parent 53176df commit bc1cb95
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/examples/policy-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,21 @@ description: >
usage:
version: 2.1
orbs:
datree: naorpeled/datree@1.0.0
datree: naorpeled/datree@x.y.z

workflows:
jobs:
policy-check:
jobs:
- name: Run Datree Policy Check
uses: datreeio/test
with:
executor: datree/default

environment:
DATREE_TOKEN: $DATREE_TOKEN
steps:
- checkout
- datree/test:
path: 'someDirectory/someFile.yaml'
cliArguments: '--schema-version 1.20.0'

workflows:
policy-check:
jobs:
- policy-check

0 comments on commit bc1cb95

Please sign in to comment.