Skip to content

Commit

Permalink
Merge pull request #47 from EliLillyCo/feat/patch_breaking_api
Browse files Browse the repository at this point in the history
patch for breaking change (remove historic artifacts)
  • Loading branch information
nathanamorin authored Jan 31, 2025
2 parents 0e06a1d + cc24dc5 commit 2e0c481
Show file tree
Hide file tree
Showing 5 changed files with 28,015 additions and 34,198 deletions.
24 changes: 2 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# Github Actions Post to Pull Request with Previous Build Result Comparison

This github actions allows easy comparision of current and past build execution results through a PR comment.

e.g. comment the last "main" branch test coverage with the current pull request test coverage.

This works by saving a build artifacts when the action is executed on branch commits & using those artifacts to provide previous build results.
# Github Actions Post to Pull Request

This github actions allows easy posting of formatted build results into GitHub PRs.

## Setup
Durring the github action build, create a build output text file.
Expand Down Expand Up @@ -41,7 +36,6 @@ Additional optional arguments are available to customize the pull request output
"title": "My Test Execution",
"artifact_name": "defaults to title", // OPTIONAL: Defaults to title stripped of non-alphanumeric characters/spaces
"modifier": "grep 'onlytheselines'", // OPTIONAL: Shell command which will be executed against the output file. This can be used to prevent long pull request messages.
"compare_branches": ["main"] // OPTIONAL: List of branches to compare to, defaults to master
"collapsible": true // OPTIONAL: true/false, set to true to make PR message collapse for long messages, defaults to False
}
]
Expand All @@ -52,20 +46,6 @@ Additional optional arguments are available to customize the pull request output
# --- Example Pull Request Comment ---

# Unit Test
## Previous main branch:

```
> [email protected] test /home/runner/work/github-actions-post-to-pr/github-actions-post-to-pr
> eslint *.js && jest --collect-coverage
-----------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
-----------------|----------|----------|----------|----------|-------------------|
All files | 94.94 | 86.36 | 90.91 | 94.94 | |
pull_request.js | 96.36 | 85 | 100 | 96.36 | 21,40 |
utils.js | 91.67 | 100 | 83.33 | 91.67 | 42,44 |
-----------------|----------|----------|----------|----------|-------------------|
```

## This change:

Expand Down
Loading

0 comments on commit 2e0c481

Please sign in to comment.