Skip to content

NimblePros/NimblePros.GitHub.Workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

NimblePros' Common Workflows

This repo holds common GitHub Actions Workflows that we use in the repositories we maintain.

This makes use of GitHub's Reusable Workflows.

Available Workflows

In this section, we'll mention workflows and any details required for using them.


Comment On Pull Request

This Pull Request will publish a Code Coverage comment to a PR, as seen in this PR for eShopOnNServiceBus.

Some things to note:

  • This only comments on a pull_request event.

  • This requires 3 parameters:

    • pr-number: PR Number to comment on
    • code-coverage-artifact-name: Used for downloading the code-coverage artifact created in a build pipeline
    • code-coverage-artifact-path: Used for the commenter plugin

    To use this in your own repo, add this job to your workflow:

  add-code-coverage-to-pr:
    uses: NimblePros/NimblePros.GitHub.Workflows/.github/workflows/comment-on-pr.yml@main
    with:
      pr-number: YOUR_PR_NUMBER
      code-coverage-artifact-name: YOUR_CODE_COVERAGE_ARTIFACT_NAME
      code-coverage-artifact-path: YOUR_CODE_COVERAGE_ARTIFACT_PATH

You can see this in action with eShopOnNServiceBus.

About

Common workflows we use in our GitHub projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published