diff --git a/.github/workflows/check-compatibility.yml b/.github/workflows/check-compatibility.yml index 5bd9000245bab..440701f344fb7 100644 --- a/.github/workflows/check-compatibility.yml +++ b/.github/workflows/check-compatibility.yml @@ -15,8 +15,11 @@ jobs: - name: Get results run: | - echo 'Compatibility status:' > ${{ github.workspace }}/results.txt && echo '```' >> ${{ github.workspace }}/results.txt - grep -e 'Compatible components' -e 'Incompatible components' -e 'Components skipped' $HOME/gradlew-check.out >> "${{ github.workspace }}/results.txt" + echo '## Compatibility status:' > ${{ github.workspace }}/results.txt + echo "Checks if related components are compatiable with change $(git rev-parse --short HEAD)}" >> ${{ github.workspace }}/results.txt + echo "### Incompatible components" >> "${{ github.workspace }}/results.txt" && grep -e 'Incompatible component' $HOME/gradlew-check.out | sed -e 's/Incompatible component: \[\(.*\)\]/- \1/' >> "${{ github.workspace }}/results.txt" + echo "### Skipped components" >> "${{ github.workspace }}/results.txt" && grep -e 'Skipped component' $HOME/gradlew-check.out | sed -e 's/Skipped component: \[\(.*\)\]/- \1/' >> "${{ github.workspace }}/results.txt" + echo "### Compatible components" >> "${{ github.workspace }}/results.txt" && grep -e 'Compatible component' $HOME/gradlew-check.out | sed -e 's/Compatible component: \[\(.*\)\]/- \1/' >> "${{ github.workspace }}/results.txt" echo '```' >> ${{ github.workspace }}/results.txt - name: GitHub App token