Skip to content

Files

Latest commit

3dcbd6b · Jul 27, 2023

History

History
21 lines (12 loc) · 896 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 896 Bytes

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.