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

Support Github Action workflows initiated from PR Comments

scottbcovert opened this issue · comments

Unfortunately, Github action workflows initiated from PR comments lack vital info on the PR itself in the context payload - see related issue

Without that payload context the scanner is unable to run a git diff and the job fails. Ideally, additional inputs would be added to support manually setting the head & base refs that should be used by the scanner.