mitchspano / sfdx-scan-pull-request

Runs sfdx-scanner on a pull request and generates in-line comments with the findings.
Apache License 2.0
73 stars 25 forks source link

Support Github Action workflows initiated from PR Comments #75

Open scottbcovert opened 8 months ago

scottbcovert commented 8 months ago

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.