Skip to content

Commit

Permalink
[22321] Updated pull request comment logic
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-jsonjuliane committed Nov 6, 2024
1 parent d4c8929 commit 18589a2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand Down

0 comments on commit 18589a2

Please sign in to comment.