add changelog file for threads feature
This commit is contained in:
parent
57f3b132cb
commit
8e90864e1f
|
@ -180,6 +180,7 @@ jobs:
|
||||||
body="$(cat ./matrix-sdk-android/build/outputs/androidTest-results/connected/*.xml | grep "<testsuite" | sed "s@.*tests=\(.*\)time=.*@\1@")"
|
body="$(cat ./matrix-sdk-android/build/outputs/androidTest-results/connected/*.xml | grep "<testsuite" | sed "s@.*tests=\(.*\)time=.*@\1@")"
|
||||||
echo "::set-output name=permalink::passed=$body"
|
echo "::set-output name=permalink::passed=$body"
|
||||||
- name: Find Comment
|
- name: Find Comment
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
uses: peter-evans/find-comment@v1
|
uses: peter-evans/find-comment@v1
|
||||||
id: fc
|
id: fc
|
||||||
with:
|
with:
|
||||||
|
@ -187,6 +188,7 @@ jobs:
|
||||||
comment-author: 'github-actions[bot]'
|
comment-author: 'github-actions[bot]'
|
||||||
body-includes: Integration Tests Results
|
body-includes: Integration Tests Results
|
||||||
- name: Publish results to PR
|
- name: Publish results to PR
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
uses: peter-evans/create-or-update-comment@v1
|
uses: peter-evans/create-or-update-comment@v1
|
||||||
with:
|
with:
|
||||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||||
|
|
|
@ -54,7 +54,7 @@ jobs:
|
||||||
echo "::set-output name=body::$body"
|
echo "::set-output name=body::$body"
|
||||||
fi
|
fi
|
||||||
- name: Find Comment
|
- name: Find Comment
|
||||||
if: always()
|
if: always() && github.event_name == 'pull_request'
|
||||||
uses: peter-evans/find-comment@v1
|
uses: peter-evans/find-comment@v1
|
||||||
id: fc
|
id: fc
|
||||||
with:
|
with:
|
||||||
|
@ -62,7 +62,7 @@ jobs:
|
||||||
comment-author: 'github-actions[bot]'
|
comment-author: 'github-actions[bot]'
|
||||||
body-includes: Ktlint Results
|
body-includes: Ktlint Results
|
||||||
- name: Add comment if needed
|
- name: Add comment if needed
|
||||||
if: always() && steps.ktlint-results.outputs.add_comment == 'true'
|
if: always() && github.event_name == 'pull_request' && steps.ktlint-results.outputs.add_comment == 'true'
|
||||||
uses: peter-evans/create-or-update-comment@v1
|
uses: peter-evans/create-or-update-comment@v1
|
||||||
with:
|
with:
|
||||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
||||||
${{ steps.ktlint-results.outputs.body }}
|
${{ steps.ktlint-results.outputs.body }}
|
||||||
edit-mode: replace
|
edit-mode: replace
|
||||||
- name: Delete comment if needed
|
- name: Delete comment if needed
|
||||||
if: always() && steps.fc.outputs.comment-id != '' && steps.ktlint-results.outputs.add_comment == 'false'
|
if: always() && github.event_name == 'pull_request' && steps.fc.outputs.comment-id != '' && steps.ktlint-results.outputs.add_comment == 'false'
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v3
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fix CI/CD errors after merges for quality and integration tests
|
Loading…
Reference in New Issue