Skip to content

Commit 510c700

Browse files
committed
Add Instructions for README update test
1 parent e43dcc3 commit 510c700

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/dart_mcp_server.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ on:
55
# Run CI on all PRs (against any branch) and on pushes to the main branch.
66
pull_request:
77
paths:
8-
- '.github/workflows/dart_mcp_server.yaml'
9-
- 'pkgs/dart_mcp_server/**'
10-
- 'pkgs/dart_mcp/**'
8+
- ".github/workflows/dart_mcp_server.yaml"
9+
- "pkgs/dart_mcp_server/**"
10+
- "pkgs/dart_mcp/**"
1111
push:
12-
branches: [ main ]
12+
branches: [main]
1313
paths:
14-
- '.github/workflows/dart_mcp_server.yaml'
15-
- 'pkgs/dart_mcp_server/**'
16-
- 'pkgs/dart_mcp/**'
14+
- ".github/workflows/dart_mcp_server.yaml"
15+
- "pkgs/dart_mcp_server/**"
16+
- "pkgs/dart_mcp/**"
1717
schedule:
18-
- cron: '0 0 * * 0' # weekly
18+
- cron: "0 0 * * 0" # weekly
1919

2020
defaults:
2121
run:
@@ -64,6 +64,6 @@ jobs:
6464

6565
# If this fails, you need to run 'dart tool/update_readme.dart'.
6666
- run: dart tool/update_readme.dart
67-
- run: git diff --exit-code README.md
67+
- run: git diff --exit-code README.md || (echo 'README.md needs to be updated. Run "dart tool/update_readme.dart"' && false)
6868

6969
- run: dart test

0 commit comments

Comments
 (0)