-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[22321] Updated pull request comment logic
- Loading branch information
1 parent
d4c8929
commit 18589a2
Showing
1 changed file
with
5 additions
and
3 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 |
---|---|---|
|
@@ -54,8 +54,9 @@ jobs: | |
message: | | ||
:x: Unit tests failed! | ||
@${{ github.event.pull_request.assignee.login || github.event.pull_request.user.login }}, please review and fix the issues in the unit tests. Let us know if you need any help. | ||
@${{ github.event.pull_request.assignee.login || github.event.pull_request.user.login }}, please review and fix the issues in the unit tests. Test results are available under the "Artifacts" section of this run in [GitHub Actions](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}). | ||
Let us know if you need any help. | ||
- name: Comment on Pull Request for General Workflow Failures | ||
if: failure() && github.event_name == 'pull_request' && steps.unit_tests.outcome != 'failure' | ||
uses: thollander/[email protected] | ||
|
@@ -64,14 +65,15 @@ jobs: | |
:x: Workflow execution failed! | ||
@${{ github.event.pull_request.assignee.login || github.event.pull_request.user.login }}, there was an issue with the workflow execution. Please check the logs and resolve the issue. | ||
- name: Comment on Pull Request (With Reviewers) | ||
if: success() && github.event_name == 'pull_request' | ||
uses: thollander/[email protected] | ||
with: | ||
message: | | ||
:white_check_mark: Unit tests passed successfully! | ||
Test results are available under the "Artifacts" section of this run in [GitHub Actions](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}). | ||
Please ensure the code is reviewed before proceeding with the merge. | ||
# - name: Comment on Pull Request | ||
|