about summary refs log tree commit diff
path: root/ci
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-21T16·53+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-22T22·27+0100
commitaeeaed605ed21c5ce8cddb5ffea021ae3cb55785 (patch)
treefb4755e2c2d9c4c7c7103eb96a888da60db029ef /ci
parent0644e1f74004f88cc32edab5221ab57463932c3f (diff)
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.
Diffstat (limited to 'ci')
-rw-r--r--ci/pipelines/briefcase.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/pipelines/briefcase.nix b/ci/pipelines/briefcase.nix
index b01e9f93cb9f..aa39e1ecf7d0 100644
--- a/ci/pipelines/briefcase.nix
+++ b/ci/pipelines/briefcase.nix
@@ -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";
     }
     {