-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pick up PR's head commit from GitHub context (#29)
- Loading branch information
1 parent
4e5182f
commit 5e821bd
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ description: 'GitHub Action that uploads test coverage reports to DeepSource for | |
author: 'Sanket Saurav <[email protected]>' | ||
inputs: | ||
key: | ||
description: 'Programming language shortcode for which coverage is reported. Allowed values are — python, go' | ||
description: 'Programming language shortcode for which coverage is reported. Allowed values are — python, go, javascript, ruby, java, kotlin, scala, php, csharp, cxx, rust, swift' | ||
required: true | ||
coverage-file: | ||
description: 'Path to the coverage data file. e.g. ./coverage.xml' | ||
|
@@ -14,6 +14,10 @@ inputs: | |
fail-ci-on-error: | ||
description: 'Should the CI build fail if there is an error while uploading the report to DeepSource? Allowed values are — true, false' | ||
default: false | ||
commit-sha: | ||
description: 'HEAD commit for which the Test Coverage report is being sent' | ||
required: false | ||
default: ${{ github.event.pull_request.head.sha }} | ||
branding: | ||
color: 'green' | ||
icon: 'umbrella' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters