Browse Source

Add the Action

Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
Vadim Markovtsev 5 years ago
parent
commit
e9d428436c
1 changed files with 18 additions and 0 deletions
  1. 18 0
      action.yml

+ 18 - 0
action.yml

@@ -0,0 +1,18 @@
+name: "Hercules Insights"
+description: "Runs various Git history analysis with src-d/hercules"
+author: "source{d}"
+inputs:
+  args:
+    description: "hercules command line arguments"
+    required: false
+    default: "--burndown --burndown-people"
+runs:
+  using: "docker"
+  image: "docker://srcd/hercules:latest"
+  entrypoint: "/bin/bash"
+  args:
+    - "-c"
+    - "mkdir /github/home/hercules && cd /github/home/hercules && hercules ${{ inputs.args }} --pb /github/workspace | labours -m all -o result"
+branding:
+  color: purple
+  icon: bar-chart-2