# github-checks-reporter **Repository Path**: mirrors_elastic/github-checks-reporter ## Basic Information - **Project Name**: github-checks-reporter - **Description**: Task wrapper that provides expressive CI feedback via github checks - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-09-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # github-checks-reporter Task wrapper that provides expressive CI feedback via GitHub checks ## Usage `yarn run github-checks-reporter ${task title} ${...command and command args}` example `yarn run github-checks-reporter jest node scripts/jest` ## Setup `yarn add --dev @elastic/github-checks-reporter` github-checks-reporter relies on a number of environment variables in order to call the GitHub API - Value | Default environment variable | Use ----- | -----------------------------|---- appKey | GITHUB_CHECKS_REPORTER_KEY | Github app api authentication repoSlug | ghprbGhRepository | `${repo}/${slug}` - eg. `elastic/kibana` commitSha | ghprbActualCommit | SHA of change, used to reference PR buildUrl | BUILD_URL | relevant CI environment url Different environment variables can be used via the `github_checks_api.json` config file located in the project root. Example - ```json { "appId": 26774, "envVars": { "appKey": "KIBANA_CI_REPORTER_KEY" } } ``` ## How it works github-checks-reporter takes a task title and a shell command and its arguments and: - Creates a check via the GitHub checks API - Executes the command - Stores and passes along log data and exit code - Updates the check based on the exit code, appending log data to the check