commit | 0b700f311aa34a821bf8351896a521c25ad5e782 | [log] [tgz] |
---|---|---|
author | Louis Brunner <LouisBrunner@users.noreply.github.com> | Mon Sep 07 12:03:43 2020 +0100 |
committer | GitHub <noreply@github.com> | Mon Sep 07 12:03:43 2020 +0100 |
tree | bbd8a78602d1ad68da71dbd2c01ad293007009b9 | |
parent | 60ad8ffe2496a65f9785bcb8c687538fde9dcc5b [diff] | |
parent | 7bf5266dfea152bcad6c6f212b51af0edd69212e [diff] |
Merge pull request #3 from LouisBrunner/dependabot/npm_and_yarn/actions/http-client-1.0.8 Bump @actions/http-client from 1.0.6 to 1.0.8
checks-action
This GitHub Action allows you to create Check Runs directly from your GitHub Action workflow. While each job of a workflow already creates a Check Run, this Action allows to include annotations
, images
, actions
or any other parameters supported by the Check Runs API.
The following shows how to publish a Check Run which will have the same status as your job and contains the output of another action. This will be shown predominantly in a Pull Request or on the workflow run.
name: "build-test" on: [push] jobs: test_something: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/create-outputs@v0.0.0-fake id: test - uses: LouisBrunner/checks-action@v0.1.0 if: always() with: token: ${{ secrets.GITHUB_TOKEN }} name: Test XYZ conclusion: ${{ job }} output: summary: ${{ steps.test.outputs.summary }} text_description: ${{ steps.test.outputs.description }}
See the examples workflow for more details and examples (and see the associated runs to see how it will look like).
token
Required Your GITHUB_TOKEN
name
Required The name of your check
conclusion
Required The conclusion of your check, can be either success
, failure
, neutral
, cancelled
, timed_out
or action_required
status
Optional The status of your check, defaults to completed
, can be either queued
, in_progress
, completed
action_url
Optional The URL to call back to when using action_required
as a conclusion
of your check or when including actions
See Check Runs API (action_required
) or Check Runs API (actions
) for more information
output
Optional A JSON object (as a string) containing the output of your check, required when using annotations
or images
.
Supports the following properties:
summary
: Required, summary of your checktext_description
: Optional, a text description of your annotation (if any)See Check Runs API for more information
annotations
Optional A JSON array (as a string) containing the annotations of your check, requires output
to be included.
Supports the same properties with the same types and names as the Check Runs API
images
Optional A JSON array (as a string) containing the images of your check, requires output
to be included.
Supports the same properties with the same types and names as the Check Runs API
actions
Optional A JSON array (as a string) containing the actions of your check.
Supports the same properties with the same types and names as the Check Runs API