Skip to content

Commit e948017

Browse files
authored
Create sample-commit-workflow.yml
1 parent 2dc86c2 commit e948017

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/sample-commit-workflow.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: codeglide MCP gen commit
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
input_directory:
7+
description: 'Directory containing API source code (relative to workspace)'
8+
type: string
9+
required: false
10+
default: '.'
11+
create_branch_and_commit:
12+
description: 'Create branch and commit'
13+
type: boolean
14+
required: false
15+
default: false
16+
17+
jobs:
18+
generate:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
26+
- name: codeglide MCP generator
27+
uses: CodeGlide/[email protected]
28+
with:
29+
input_directory: ${{ inputs.input_directory }}
30+
create_pr: ${{ inputs.create_branch_and_commit }}
31+

0 commit comments

Comments
 (0)