Skip to content

Commit

Permalink
Update ci (#2)
Browse files Browse the repository at this point in the history
* CI: add paths

* update
  • Loading branch information
azu authored Apr 13, 2024
1 parent eea8d00 commit 6ba387d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/notice.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: it-mermaid-viewer-notice
on: [pull_request]
on:
pull_request:
paths:
- '**/*.md'
permissions:
contents: read
jobs:
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ If you commit mermaid text to your repository, you can add a link to the it-merm

```yaml
name: it-mermaid-viewer-notice
on: [pull_request]
on:
pull_request:
paths:
- '**/*.md'
permissions:
contents: read
jobs:
Expand Down
23 changes: 23 additions & 0 deletions new2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## TEST

```mermaid
sequenceDiagram
A->>B: Hello
```

test

```mermaid
sequenceDiagram
autonumber
Alice->>Bob: Hello Bob, how are you ?
Bob->>Alice: Fine, thank you. And you?
create participant Carl
Alice->>Carl: Hi Carl!
create actor D as Donald
Carl->>D: Hi!
destroy Carl
Alice-xCarl: We are too many
destroy Bob
Bob->>Alice: I agree
```

0 comments on commit 6ba387d

Please sign in to comment.