Skip to content

Repo visualizer: update diagram #20

Repo visualizer: update diagram

Repo visualizer: update diagram #20

name: Visualize repo with diagram
on:
workflow_dispatch: {}
push:
branches:
#- develop
permissions:
contents: read
jobs:
visualize_repo:
permissions:
contents: write # for githubocto/repo-visualizer to commit and push diagrams
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # ratchet:actions/checkout@v4.1.4
with:
ref: develop
token: ${{ secrets.REPO_TOKEN }}
- name: Update diagram
uses: githubocto/repo-visualizer@a999615bdab757559bf94bda1fe6eef232765f85 # ratchet:githubocto/repo-visualizer@v0.9.1
with:
excluded_paths: ".github,.husky,.yarn"