Skip to content

Commit 4fd18f9

Browse files
committed
feat: set dogfooding demo workflow to on-demand trigger mode
Configure the example app to use trigger.mode: 'on-demand' so the pipeline only runs when /glimpse is commented on a PR. Added issue_comment event to the demo workflow to support this. https://claude.ai/code/session_01F7qRXukhynYjUukzhaBzSK
1 parent e88e56d commit 4fd18f9

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/demo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ name: GitGlimpse Demo
66
on:
77
pull_request:
88
types: [opened, synchronize]
9+
issue_comment:
10+
types: [created]
911

1012
jobs:
1113
demo:

examples/simple-app/git-glimpse.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ const config: GitGlimpseConfig = {
99
maxDuration: 20,
1010
viewport: { width: 960, height: 600 },
1111
},
12+
trigger: {
13+
mode: 'on-demand',
14+
},
1215
};
1316

1417
export default config;

0 commit comments

Comments
 (0)