-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 979 Bytes
/
main.yml
File metadata and controls
35 lines (34 loc) · 979 Bytes
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
29
30
31
32
33
34
35
name: codeglide MCP gen commit/PR
on:
workflow_dispatch:
inputs:
input_directory:
description: 'Directory containing API source code (relative to workspace)'
type: string
required: false
default: '.'
create_pr:
description: 'Create PR with generated code'
type: boolean
required: false
default: false
create_branch_and_commit:
description: 'Create branch and commit with generated code'
type: boolean
required: false
default: false
# Add permissions
permissions:
contents: write
pull-requests: write
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: codeglide MCP generator
uses: CodeGlide/codeglide-mcpgen@v1.0.7
with:
input_directory: ${{ inputs.input_directory }}
create_pr: ${{ inputs.create_pr }}
create_branch_and_commit: ${{ inputs.create_branch_and_commit }}