Skip to content

Files

Latest commit

aecbc6a · Mar 27, 2025

History

History

advisor

README.md

GitHub token permissions Advisor action (PUBLIC BETA)

Usage

The index.js script can be invoked as:

  • GitHub action.

    See workflow.yml for an example of how to use the Advisor action. Copy the workflow to your repository and manually dispatch the workflow from the Actions tab to generate the aggregated report from the last n runs.

    Run workflow form with input fields

  • Command line tool.

    Download the dist/index.js script and run it as:

    node index.js <workflow_name.yml> <number_of_the_last_runs> <github_owner> <repo_name> <branch_name>

    An environment variable GITHUB_TOKEN must be set to your PAT with repo scope granted for the repository you want to analyze.