Skip to content

Commit

Permalink
Use 'no-policy' for analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
mavasani committed Apr 8, 2021
1 parent 9ddfb44 commit af64353
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 954 deletions.
6 changes: 1 addition & 5 deletions lib/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,7 @@ catch (err) {
let args = [];
args.push('-c');
args.push(gdnConfigFilePath);
// Use the local policy file
const policyFilePath = path.resolve(path.join(actionDirectory, '../', 'policy', 'github.gdnpolicy'));
core.debug(`policyFilePath = ${policyFilePath}`);
args.push('--policy-file-path');
args.push(policyFilePath);
args.push('--no-policy');
// Set logger level to only display warnings and errors
args.push('--logger-level');
args.push('Warning');
Expand Down
Loading

0 comments on commit af64353

Please sign in to comment.