ps-rule/action.yml

47 строки
1.0 KiB
YAML
Исходник Обычный вид История

2019-09-02 13:46:27 +03:00
name: 'PSRule'
description: 'Run rules in a GitHub repository.'
2020-06-07 14:51:23 +03:00
author: 'Microsoft'
2019-09-03 16:12:14 +03:00
branding:
icon: 'check-circle'
color: 'green'
2020-04-17 10:14:18 +03:00
inputs:
inputType:
description: 'Determines the type of input to use for PSRule.'
2020-06-07 13:30:27 +03:00
default: 'repository'
required: false
2020-04-17 10:14:18 +03:00
inputPath:
description: 'The path PSRule will look for files to validate.'
default: ''
required: false
2020-04-17 10:14:18 +03:00
modules:
description: 'A comma separated list of modules to use for analysis.'
default: ''
required: false
2020-04-17 10:14:18 +03:00
2019-09-02 13:46:27 +03:00
source:
2020-04-17 10:14:18 +03:00
description: 'An path containing rules to use for analysis.'
2019-09-03 16:12:14 +03:00
default: '.ps-rule/'
required: false
2020-04-17 10:14:18 +03:00
outputFormat:
description: 'The format to use when writing results to disk. When set to None results are not written to disk.'
default: 'None'
required: false
2020-04-17 10:14:18 +03:00
outputPath:
description: 'The file path to write results to.'
default: ''
required: false
2020-04-17 10:14:18 +03:00
path:
description: 'The working directory PSRule is run from.'
default: ''
required: false
2020-04-17 10:14:18 +03:00
2019-09-02 11:40:52 +03:00
runs:
using: 'docker'
image: 'Dockerfile'