-
-
Notifications
You must be signed in to change notification settings - Fork 365
29 lines (29 loc) · 924 Bytes
/
diagram.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Create diagram
on:
schedule:
# Runing biweekly, At 11:50 on day-of-month 1 and 16.
- cron: "50 11 4,19 * *"
# one more commit and i'm going to shower
# we are using cron to not polute commits history
# push:
# branches:
# - main
jobs:
get_data:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Generate diagram
uses: githubocto/repo-visualizer@main
with:
excluded_paths: ".github,.vscode,assets,locales,static"
excluded_globs: "**/*.{editorconfig,gitignore,lock,json,md,png,toml,svg,yml}"
output_file: ".github/diagram.svg"
should_push: false
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
branch: action
title: "[skip ci] updated code diagram"
commit-message: "[skip ci] updated code diagram"