Log git information during briefcase's lint stage
I would like to find out what the state of the repo is during pre-receive hook.
This commit is contained in:
parent
0644e1f740
commit
aeeaed605e
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@
|
|||
let
|
||||
pipeline.steps = [
|
||||
{
|
||||
command = "${pkgs.git-secrets}/bin/git-secrets --scan-history";
|
||||
command = ''
|
||||
git log -n 1
|
||||
git show
|
||||
${pkgs.git-secrets}/bin/git-secrets --scan-history
|
||||
'';
|
||||
label = ":broom: lint";
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue