mitchspano / sfdx-scan-pull-request

Runs sfdx-scanner on a pull request and generates in-line comments with the findings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to run on push or pull request?

initdotd opened this issue · comments

I've found having the scanner run on a push to a remote feature branch to be helpful even before opening a PR. This provides really great feedback to the contributor prior to engaging code reviews and CI builds during the PR process. My projects would really benefit from such a flag/feature.

  1. Provide the ability to run on push
  2. Avoid comment creation on push
  3. Still fail sanity check on push to remote
  4. No change to existing PR functionality