Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

TravelNest/action-marathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marathon – Comment Action

Marathon runs your task and comments about it on your Pull Request using GitHub Actions

Usage

For example if you want to run a make target named typecheck and, on failure, add its output as a PR comment;

add the following to your workflow yaml.

- uses: travelnest/action-marathon@v1
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    command: make typecheck
    mode: failure
    text: "**Typechecker results**"

it will produce this in GitHub Actions console

example output in Actions' console

and the comment on your PR will look like this

example comment in a Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published