Skip to content

GitHub Action that generates HTML report from a Factbase

License

Notifications You must be signed in to change notification settings

zerocracy/pages-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f23c1e5 · Nov 30, 2024
Nov 5, 2024
Oct 14, 2024
Oct 15, 2024
Nov 30, 2024
Sep 26, 2024
Oct 15, 2024
Oct 15, 2024
Aug 17, 2024
Jul 31, 2024
Oct 15, 2024
Jul 28, 2024
Nov 26, 2024
Nov 26, 2024
May 18, 2024
Oct 15, 2024
Oct 15, 2024
Sep 26, 2024
Jul 28, 2024
Aug 17, 2024
May 18, 2024

Repository files navigation

Pages Zerocracy Action

DevOps By Rultor.com

make Hits-of-Code License

This GitHub Actions plugin is supposed to be used together with judges-action (the documentation is over there). This plugin takes a Factbase file generated by the judges-action and prints its content in YAML, XML, and HTML formats. Also, it prints a user-friendly HTML document with a summary of project status (we call it "vitals" page). This is how this vitals page looks for our team.

The following configuration options are supported here:

- uses: zerocracy/pages-action@0.0.40
  with:
    factbase: foo.fb
    verbose: true
    output: my-directory
    columns: who,when,repository
    hidden: _id,_time
    options: |
      github_token=${{ secrets.GITHUB_TOKEN }}

The following options are supported:

  • factbase (required) is the name of the factbase file;
  • options (empty by default) is a list of k=v options to be sent to the judges command line tool;
  • output (default: pages) is the directory where .XML, .YAML, and .HTML files are supposed to be saved to;
  • logo (optional) is the URL of the logo to put on the vitals HTML page;
  • columns (optional) is a comma-separated list of columns to print in the HTML;
  • hidden (optional) is a comma-separated list of columns to hide;
  • today (optional) is ISO-8601 date-time of today;
  • verbose (default: false) turns on a more detailed logging.

More details are in the action.yml file.

How to Contribute

In order to test this action, just run (provided, you have GNU make installed):

make

Should work.