All Projects β†’ LouisBrunner β†’ checks-action

LouisBrunner / checks-action

Licence: MIT license
GitHub Action which wraps calls to GitHub Checks API

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to checks-action

linter-alex
πŸ“Sensitive, considerate writing before you merge your Pull Requests
Stars: ✭ 67 (-14.1%)
Mutual labels:  checks
labeler
GitHub Action to assign labels to PRs based on configurable conditions
Stars: ✭ 47 (-39.74%)
Mutual labels:  actions
action-create-comment
πŸ’¬ GitHub Action to create a comment
Stars: ✭ 30 (-61.54%)
Mutual labels:  actions
clang-tidy-review
Create a pull request review based on clang-tidy warnings
Stars: ✭ 33 (-57.69%)
Mutual labels:  actions
danger-action
Execute danger action for GitHub Actions.
Stars: ✭ 24 (-69.23%)
Mutual labels:  actions
deployer-php-action
Deploy PHP projects using Deployer from Github Actions
Stars: ✭ 57 (-26.92%)
Mutual labels:  actions
MatrixChecks
The optimized checks for Matrix Anticheat, a powerful anticheat for Minecraft.
Stars: ✭ 70 (-10.26%)
Mutual labels:  checks
pin-github-action
Pin your GitHub actions to a specific hash
Stars: ✭ 38 (-51.28%)
Mutual labels:  actions
html5validator-action
GitHub Action that checks HTML5 syntax.
Stars: ✭ 27 (-65.38%)
Mutual labels:  actions
actions
🧰 Collection of github actions for automation
Stars: ✭ 28 (-64.1%)
Mutual labels:  actions
action-add-labels
🏷️ GitHub Action to add labels
Stars: ✭ 65 (-16.67%)
Mutual labels:  actions
verify-changed-files
Github action to verify file changes that occur during the workflow execution.
Stars: ✭ 62 (-20.51%)
Mutual labels:  actions
action-release-label
🏷️ GitHub Action to output a semver update level from a pull request release label
Stars: ✭ 41 (-47.44%)
Mutual labels:  actions
k8s-create-secret
GitHub Action to create Kubernetes cluster secrets
Stars: ✭ 24 (-69.23%)
Mutual labels:  actions
uptime
GitHub Action to check the status of endpoints
Stars: ✭ 30 (-61.54%)
Mutual labels:  actions
standard-action
Github Action to lint with `standard` and friends
Stars: ✭ 15 (-80.77%)
Mutual labels:  actions
prosebot
πŸ€–πŸ”Š Probot App to help you write better on GitHub.
Stars: ✭ 46 (-41.03%)
Mutual labels:  checks-api
generate-og-image
Generate open graph images with Github Action from Markdown files
Stars: ✭ 32 (-58.97%)
Mutual labels:  actions
nextjs-github-pages
πŸš€ Deploy a Next.js app to Github Pages via Github Actions.
Stars: ✭ 89 (+14.1%)
Mutual labels:  actions
spinnaker-pipeline-trigger
Pipeline trigger for Spinnaker utilizing SNS
Stars: ✭ 15 (-80.77%)
Mutual labels:  actions

GitHub Actions: checks-action build-test

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.

Usage

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/[email protected]
      id: test
    - uses: LouisBrunner/[email protected]
      if: always()
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        name: Test XYZ
        conclusion: ${{ job.status }}
        output: |
          {"summary":${{ steps.test.outputs.summary }}}

See the examples workflow for more details and examples (and see the associated runs to see how it will look like).

Inputs

repo

Optional The target repository (owner/repo) on which to manage the check run. Defaults to the current repository.

sha

Optional The SHA of the target commit. Defaults to the current commit.

token

Required Your GITHUB_TOKEN

name

Required for creation, the name of the check to create (mutually exclusive with check_id)

check_id

Required for update, ID of the check to update (mutually exclusive with name)

conclusion

Optional (Required if status is completed, the default) 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

Note that this will override details_url (see next) when conclusion is action_required or when actions is provided (the two inputs set the same check attribute, details_url)

details_url

Optional A URL with more details about your check, can be an third-party website, a preview of the changes to your Github Pages, etc

Note that this will be overridden by action_url (see previous) when conclusion is action_required or when actions is provided (the two inputs set the same check attribute, details_url)

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 check
  • text_description: Optional, a text description of your annotation (if any)

See Check Runs API for more information

output_text_description_file

Optional Path to a file containing text which should be set as the text_description property of output'. Can contain plain text or markdown.

Note that this will be ignored if output is not provided. When output is provided with a text_description, this input will take precedence and override it.

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

Note that this will override details_url as it relies on action_url (the two inputs set the same check attribute, details_url)

Outputs

check_id

The ID of the created check, useful to update it in another action (e.g. non-completed status)

Issues

  • Action Required conclusion: button doesn't work?
  • Action elements: button doesn't work?
  • Non-completed status: too many arguments required
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].