1 line
9.3 KiB
JSON
1 line
9.3 KiB
JSON
{"repo": "backbase/golden-sample-app", "files": {".github/actions/aider/README.md": {"afe1423af87d7d39aa40884b9b98feeba29e33a3": {"t": 1785747012.662235, "n": 2578, "h": "f701f8c8cc4052da", "c": "# Aider GitHub Action\n\nThis GitHub Action allows you to run [Aider](https://github.com/paul-gauthier/aider), an AI-powered coding assistant, in your GitHub Actions workflows. It enables AI-assisted code changes and automated pull request creation.\n\n## Usage\n\n```yaml\n- name: Apply AI changes with Aider\n uses: ./.github/actions/aider\n with:\n branch: \"feature/my-branch\"\n model: \"gpt-4-1106-preview\"\n aider_args: \"--yes --message 'Add error handling'\"\n openai_api_key: ${{ secrets.OPENAI_API_KEY }}\n```\n\n## Inputs\n\n| Input | Description | Required | Default |\n|-------|-------------|----------|---------|\n| `openai_api_key` | OpenAI API Key | No | \"\" |\n| `anthropic_api_key` | Anthropic API Key | No | \"\" |\n| `gemini_api_key` | Google Gemini API Key | No | \"\" |\n| `groq_api_key` | Groq API Key | No | \"\" |\n| `cohere_api_key` | Cohere API Key | No | \"\" |\n| `deepseek_api_key` | Deepseek API Key | No | \"\" |\n| `openrouter_api_key` | OpenRouter API Key | No | \"\" |\n| `model` | AI model to use | No | \"gpt-4-1106-preview\" |\n| `branch` | Git branch to apply changes to | No | \"main\" |\n| `aider_args` | Arguments to pass to Aider CLI | Yes | N/A |\n\n## Files\n\n- **action.yml** - Action definition and input configuration\n- **Dockerfile** - Container setup for running Aider\n- **entrypoint.sh** - Script that executes when container runs \n- **requirements.txt** - Python dependencies\n\n## Example Workflow\n\n```yaml\nname: AI Code Updates\non:\n issues:\n types: [labeled]\n\njobs:\n update-code:\n runs-on: ubuntu-latest\n if: github.event.label.name == 'ai-update'\n steps:\n - uses: actions/checkout@v4\n \n - name: Run Aider\n uses: ./.github/actions/aider\n with:\n branch: ${{ github.head_ref }}\n model: \"gpt-4-1106-preview\"\n aider_args: \"--yes --message 'Apply requested changes'\"\n openai_api_key: ${{ secrets.OPENAI_API_KEY }}\n```\n\n## Implementation Details\n\n### Container Setup\n\nThe action runs in a Python 3.12 slim container with:\n\n- Git for version control\n- Aider chat package installed via pip\n- Custom entrypoint script for workflow execution\n\n### Execution Flow\n\n1. Container starts with the repository mounted\n2. Work directory is copied to /tmp/repo\n3. Git is configured with GitHub Actions bot credentials\n4. Specified branch is checked out\n5. Aider runs with provided arguments\n6. Changes are committed and pushed to the branch\n\n## Environment Variables\n\nThe action automatically handles:\n\n- API keys for various AI providers\n- Git configuration\n- Branch management\n- Working directory setup\n"}, "c33ae89ee80ee58ead8a20c12ff2871e4f65748d": {"t": 1785769805.0433657, "n": 2578, "h": "f701f8c8cc4052da", "c": "# Aider GitHub Action\n\nThis GitHub Action allows you to run [Aider](https://github.com/paul-gauthier/aider), an AI-powered coding assistant, in your GitHub Actions workflows. It enables AI-assisted code changes and automated pull request creation.\n\n## Usage\n\n```yaml\n- name: Apply AI changes with Aider\n uses: ./.github/actions/aider\n with:\n branch: \"feature/my-branch\"\n model: \"gpt-4-1106-preview\"\n aider_args: \"--yes --message 'Add error handling'\"\n openai_api_key: ${{ secrets.OPENAI_API_KEY }}\n```\n\n## Inputs\n\n| Input | Description | Required | Default |\n|-------|-------------|----------|---------|\n| `openai_api_key` | OpenAI API Key | No | \"\" |\n| `anthropic_api_key` | Anthropic API Key | No | \"\" |\n| `gemini_api_key` | Google Gemini API Key | No | \"\" |\n| `groq_api_key` | Groq API Key | No | \"\" |\n| `cohere_api_key` | Cohere API Key | No | \"\" |\n| `deepseek_api_key` | Deepseek API Key | No | \"\" |\n| `openrouter_api_key` | OpenRouter API Key | No | \"\" |\n| `model` | AI model to use | No | \"gpt-4-1106-preview\" |\n| `branch` | Git branch to apply changes to | No | \"main\" |\n| `aider_args` | Arguments to pass to Aider CLI | Yes | N/A |\n\n## Files\n\n- **action.yml** - Action definition and input configuration\n- **Dockerfile** - Container setup for running Aider\n- **entrypoint.sh** - Script that executes when container runs \n- **requirements.txt** - Python dependencies\n\n## Example Workflow\n\n```yaml\nname: AI Code Updates\non:\n issues:\n types: [labeled]\n\njobs:\n update-code:\n runs-on: ubuntu-latest\n if: github.event.label.name == 'ai-update'\n steps:\n - uses: actions/checkout@v4\n \n - name: Run Aider\n uses: ./.github/actions/aider\n with:\n branch: ${{ github.head_ref }}\n model: \"gpt-4-1106-preview\"\n aider_args: \"--yes --message 'Apply requested changes'\"\n openai_api_key: ${{ secrets.OPENAI_API_KEY }}\n```\n\n## Implementation Details\n\n### Container Setup\n\nThe action runs in a Python 3.12 slim container with:\n\n- Git for version control\n- Aider chat package installed via pip\n- Custom entrypoint script for workflow execution\n\n### Execution Flow\n\n1. Container starts with the repository mounted\n2. Work directory is copied to /tmp/repo\n3. Git is configured with GitHub Actions bot credentials\n4. Specified branch is checked out\n5. Aider runs with provided arguments\n6. Changes are committed and pushed to the branch\n\n## Environment Variables\n\nThe action automatically handles:\n\n- API keys for various AI providers\n- Git configuration\n- Branch management\n- Working directory setup\n"}}, ".github/actions/aider/action.yml": {"afe1423af87d7d39aa40884b9b98feeba29e33a3": {"t": 1785747014.6440647, "n": 1645, "h": "937069b2891c93b3", "c": "name: \"aider-chat-action\"\ndescription: \"Easiest way to run Aider in your GitHub Actions workflow\"\ninputs:\n openai_api_key:\n description: \"OpenAI API Key\"\n default: \"\"\n required: false\n anthropic_api_key:\n description: \"Anthropic API Key\"\n default: \"\"\n required: false\n gemini_api_key:\n description: \"Gemini API Key\"\n default: \"\"\n required: false\n groq_api_key:\n description: \"Groq API Key\"\n default: \"\"\n required: false\n cohere_api_key:\n description: \"Cohere API Key\"\n default: \"\"\n required: false\n deepseek_api_key:\n description: \"Deepseek API Key\"\n default: \"\"\n required: false\n openrouter_api_key:\n description: \"OpenRouter API Key\"\n default: \"\"\n required: false\n model:\n description: \"Model to use for Aider\"\n default: \"gpt-4-1106-preview\"\n required: false\n branch:\n description: \"Branch to run Aider on\"\n default: \"main\"\n required: false\n aider_args:\n description: \"Space-delimited args to pass to aider (e.g. --yes --message 'Make the dashboard sidebar purple')\"\n required: true\n\nruns:\n using: \"docker\"\n image: \"Dockerfile\"\n env:\n OPENAI_API_KEY: ${{ inputs.openai_api_key }}\n ANTHROPIC_API_KEY: ${{ inputs.anthropic_api_key }}\n GEMINI_API_KEY: ${{ inputs.gemini_api_key }}\n GROQ_API_KEY: ${{ inputs.groq_api_key }}\n COHERE_API_KEY: ${{ inputs.cohere_api_key }}\n DEEPSEEK_API_KEY: ${{ inputs.deepseek_api_key }}\n OPENROUTER_API_KEY: ${{ inputs.openrouter_api_key }}\n FEATURE_REF: ${{ inputs.branch }}\n MODEL: ${{ inputs.model }}\n AIDER_ARGS: ${{ inputs.aider_args }}\n\nbranding:\n icon: \"cpu\"\n color: \"white\"\n"}, "c33ae89ee80ee58ead8a20c12ff2871e4f65748d": {"t": 1785769804.6333592, "n": 1645, "h": "937069b2891c93b3", "c": "name: \"aider-chat-action\"\ndescription: \"Easiest way to run Aider in your GitHub Actions workflow\"\ninputs:\n openai_api_key:\n description: \"OpenAI API Key\"\n default: \"\"\n required: false\n anthropic_api_key:\n description: \"Anthropic API Key\"\n default: \"\"\n required: false\n gemini_api_key:\n description: \"Gemini API Key\"\n default: \"\"\n required: false\n groq_api_key:\n description: \"Groq API Key\"\n default: \"\"\n required: false\n cohere_api_key:\n description: \"Cohere API Key\"\n default: \"\"\n required: false\n deepseek_api_key:\n description: \"Deepseek API Key\"\n default: \"\"\n required: false\n openrouter_api_key:\n description: \"OpenRouter API Key\"\n default: \"\"\n required: false\n model:\n description: \"Model to use for Aider\"\n default: \"gpt-4-1106-preview\"\n required: false\n branch:\n description: \"Branch to run Aider on\"\n default: \"main\"\n required: false\n aider_args:\n description: \"Space-delimited args to pass to aider (e.g. --yes --message 'Make the dashboard sidebar purple')\"\n required: true\n\nruns:\n using: \"docker\"\n image: \"Dockerfile\"\n env:\n OPENAI_API_KEY: ${{ inputs.openai_api_key }}\n ANTHROPIC_API_KEY: ${{ inputs.anthropic_api_key }}\n GEMINI_API_KEY: ${{ inputs.gemini_api_key }}\n GROQ_API_KEY: ${{ inputs.groq_api_key }}\n COHERE_API_KEY: ${{ inputs.cohere_api_key }}\n DEEPSEEK_API_KEY: ${{ inputs.deepseek_api_key }}\n OPENROUTER_API_KEY: ${{ inputs.openrouter_api_key }}\n FEATURE_REF: ${{ inputs.branch }}\n MODEL: ${{ inputs.model }}\n AIDER_ARGS: ${{ inputs.aider_args }}\n\nbranding:\n icon: \"cpu\"\n color: \"white\"\n"}}}} |