Skip to content

Commit

Permalink
Initial summary
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Dec 7, 2021
1 parent 69f426a commit 94e49ef
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/jdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,30 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

summary:
name: Summary
runs-on: ubuntu-20.04
needs: [build-matrix, applications]
if: >-
${{ always() }} &&
github.event.action != 'closed' # &&
#needs.build-matrix.outputs.any != 'false'
steps:
- name: Find Comment
uses: peter-evans/find-comment@v1
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'JHipster Bot([email protected])'
body-includes: Summary

- name: Create or update comment
uses: peter-evans/create-or-update-comment@v1
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
Summary
${{ toJSON(needs.applications) }}
edit-mode: append

0 comments on commit 94e49ef

Please sign in to comment.