Skip to content

Commit

Permalink
Fix ruleset inputs to actually be used
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-mairose-sp committed May 24, 2023
1 parent 4a2b9bc commit e4509e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ async function run() {
githubToken: core.getInput("github-token"),
fileGlob: core.getInput("file-glob") || "sample/sailpoint.yml",
spectralRootRuleset:
core.getInput("spectral-ruleset") ||
core.getInput("spectral-root-ruleset") ||
"https://raw.githubusercontent.com/sailpoint-oss/api-linter/main/root-ruleset.yaml",
spectralPathRuleset:
core.getInput("spectral-ruleset") ||
core.getInput("spectral-path-ruleset") ||
"https://raw.githubusercontent.com/sailpoint-oss/api-linter/main/path-ruleset.yaml",
spectralSchemaRuleset:
core.getInput("spectral-ruleset") ||
core.getInput("spectral-schema-ruleset") ||
"https://raw.githubusercontent.com/sailpoint-oss/api-linter/main/schema-ruleset.yaml",
githubURL: core.getInput("github-url"),
};
Expand Down

0 comments on commit e4509e8

Please sign in to comment.