-
-
Notifications
You must be signed in to change notification settings - Fork 563
28 lines (26 loc) · 951 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
name: Diagram
on:
workflow_dispatch: {}
push:
branches:
- diagram
#- master # protected branch, can't push updated diagram to
jobs:
update-diagram:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Also checkout docs & website
run: |
git clone https://github.com/ActivityWatch/docs
git clone https://github.com/ActivityWatch/activitywatch.github.io
- name: Update diagram
uses: githubocto/repo-visualizer@main
with:
commit_message: 'chore: update diagram [skip ci]'
file_colors: '{"rs": "#b7410e", "py": "#229922", "rst": "pink", "txt": "pink", "md": "pink", "css": "purple", "scss": "purple"}'
excluded_globs: "**/.github;**/.git;**/*.builds;**/*.bat;**/*.iss;**/*.ps1;**/*.pyi;**/*.plist;**/*.cmd"
#excluded_paths: '.github'