Skip to content

Commit 7838989

Browse files
authored
Add srcDirectory input (#9)
With this input we are now able to add a specific path to where the proto files are
1 parent 59cca46 commit 7838989

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ inputs:
1010
configDirectory:
1111
description: "the path to where the .protolint.yaml configuration exists"
1212
required: true
13+
srcDirectory:
14+
description: "the path to where the .proto files are"
15+
required: false
16+
default: .
1317

1418
runs:
1519
using: "docker"
@@ -19,4 +23,4 @@ runs:
1923
- lint
2024
- -config_dir_path
2125
- ${{ inputs.configDirectory }}
22-
- .
26+
- ${{ inputs.srcDirectory }}

0 commit comments

Comments
 (0)