Skip to content

Comment on PR with Structurizr Diagrams #17

Comment on PR with Structurizr Diagrams

Comment on PR with Structurizr Diagrams #17

name: Comment on PR with Structurizr Diagrams
on:
workflow_run:
types:
- completed
workflows:
- "Update Structurizr Diagrams"
jobs:
comment-on-pr:
if: github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps:
- uses: sebastienfi/structurizr-pr-comment@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }} # This token will be used by the action to perform git pull, pr read, pr comment, pr comment edit, pr comment reaction.
output-path: 'docs/diagrams/' # The output folder for generated images.