action.yml 656 B

1234567891011121314151617181920212223
  1. name: "Hercules Insights"
  2. description: "Run various Git history analyses with src-d/hercules"
  3. author: "source{d}"
  4. inputs:
  5. args:
  6. description: "hercules command line arguments"
  7. required: false
  8. default: "--burndown --burndown-people --devs --couples"
  9. runs:
  10. using: "docker"
  11. image: "docker://srcd/hercules:latest"
  12. args:
  13. - "/bin/bash"
  14. - "-c"
  15. - "hercules ${{ inputs.args }} --pb . | labours -m all -f pb --disable-projector -o hercules_charts
  16. && cd hercules_charts
  17. && tar -cf ../hercules_charts.tar * ../hercules_charts_*
  18. && cd ..
  19. && rm -r hercules_charts"
  20. branding:
  21. color: purple
  22. icon: bar-chart-2