codeglide MCP gen commit/PR #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/[email protected] | |
| with: | |
| input_directory: ${{ inputs.input_directory }} | |
| create_pr: ${{ inputs.create_pr }} | |
| create_branch_and_commit: ${{ inputs.create_branch_and_commit }} |