Skip to content

Commit

Permalink
Update Workflow for generating repo diagrams (#1908)
Browse files Browse the repository at this point in the history
Co-authored-by: George Pollard <[email protected]>
  • Loading branch information
theunrepentantgeek and Porges authored Oct 27, 2021
1 parent 00c61eb commit 2895dcb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/visualize-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ jobs:
uses: actions/checkout@v2
ref: bot/update-diagrams

- name: Create Branch
uses: peterjgrainger/action-create-branch@b48b0ca0e307c9b56f059b70274984ffeaa90a43 # Pinned to v2.0.1
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
branch: 'bot/update-diagrams'

- name: Checkout code
uses: actions/checkout@master
with:
ref: bot/update-diagrams

- name: Update ASO v1 diagram
uses: githubocto/repo-visualizer@main
with:
Expand Down Expand Up @@ -42,11 +54,12 @@ jobs:
should_push: false

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@7380612b49221684fefa025244f2ef4008ae50ad # v3.10.1
with:
token: ${{ secrets.GH_PAT }}
commit-message: Update Code Structure Diagrams
branch: bot/update-diagrams
base: main
delete-branch: true
title: '[Automated] Update Code Structure Diagrams'
body: |
Expand Down

0 comments on commit 2895dcb

Please sign in to comment.