Closed smira closed 2 years ago
Checkout was happening two times: once in the serve command and one again in the enforce command with GitHub reporter.
serve
enforce
Replace that with GitHub-provided SHA of the PR head.
This fixes an error while checking out PRs:
Error: failed to create enforcer: worktree contains unstaged changes
Signed-off-by: Andrey Smirnov andrey.smirnov@talos-systems.com
/m --ff
Checkout was happening two times: once in the
serve
command and one again in theenforce
command with GitHub reporter.Replace that with GitHub-provided SHA of the PR head.
This fixes an error while checking out PRs:
Signed-off-by: Andrey Smirnov andrey.smirnov@talos-systems.com