Skip to content

Repository files navigation

🚀 Welcome to your new awesome project!

This project has been created using webpack-cli, you can now run

npm run build

or

yarn build

to bundle your application

To install and debug local workflow locally using Linux platform

gh extension install https://github.com/nektos/gh-act

Run all workflows

gh act push -n

Run selected workflow

gh act -W .github\workflows\build-with-cache.yml -n

Update/Create a Rich Check

License

A GitHub Action that enables you to update or create rich checks. Part of the teachings from the GitHub Mastery Book.

Features

  • Create a new check run.
  • Update an existing check run.
  • Support for annotations and images in checks.
  • Configurable fail behaviors based on check conclusions.

Prerequisites

Ensure you have a workflow set up on your repository. For more details, refer to Creating a workflow file.

Usage

steps:
  - name: Update/Create a Rich Check
    uses: JediSchools/RichChecks@1.0
    with:
      name: 'Name of the check'
      status: 'queued'
      title: 'Check Title'
      summary: 'Check Summary'
      # and other input parameters as required

Inputs

Name Description Required Default
name The name of the check. ✅
status The status of the check (queued, in_progress or completed). ✅
title The title to put on the check panel. ✅
summary The summary of the check runs current result. ✅
details The details for the check.
conclusion The conclusion of the check. Values: action_required, cancelled, failure, neutral, success, skipped, stale, timed_out.
check-run-id If set, this check run will be updated.
github-token Github token for API requests. ${{ github.token }}
annotations Annotations of your check (JSON Object).
images Add images to your check (JSON Object).
fail-on-error Fail if conclusion is not success or neutral.
fail-on-neutral Fail if conclusion is neutral.

Outputs

  • check-run-id: Contains the check run id of the check created or updated.

Contributing

If you'd like to contribute to this project, please open an issue or send a pull request.

License

This project is licensed under the MIT License. See LICENSE for details.

Contact

About

A place to learn

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages