generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
41 lines (35 loc) · 1.15 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: 'Validate Cedar Policies'
description:
'A GitHub Action to validate Cedar policies against a Cedar schema.'
author: 'Common Fate'
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: check
color: 'black'
# Define your inputs here.
inputs:
schema-file:
description:
'The path to the Cedar schema file to use for validation. If a glob is
specified, the first file matching the glob will be used.'
required: true
default: '**/*.cedarschema.json'
policy-files:
description: 'The Cedar policy files to validate.'
required: true
default: '**/*.cedar'
ignore-confusable-identifier-warning:
description:
'Ignore the confusable identifier warning, to prevent "/" characters in
entity IDs from triggering warnings. Defaults to true. When
https://github.com/cedar-policy/cedar/issues/621 is resolved, the default
will be updated to false.'
required: true
default: 'true'
fail-on-warnings:
description: 'Set the action status to fail if any warnings are present.'
required: true
default: 'true'
runs:
using: node20
main: dist/index.js