{"id":24373628,"url":"https://github.com/oscoreio/ai-workflows","last_synced_at":"2025-04-15T20:12:07.919Z","repository":{"id":272752227,"uuid":"915691515","full_name":"oscoreio/ai-workflows","owner":"oscoreio","description":"Reusable AI workflows that speed up development","archived":false,"fork":false,"pushed_at":"2025-04-08T07:24:11.000Z","size":133,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T12:55:55.915Z","etag":null,"topics":["ai","aider","github-actions","oscore","reusable","reusable-workflow","workflows"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oscoreio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-12T14:55:21.000Z","updated_at":"2025-04-08T07:24:15.000Z","dependencies_parsed_at":"2025-01-16T12:57:30.806Z","dependency_job_id":"992e83e8-ec36-4c96-b489-0efd474e8967","html_url":"https://github.com/oscoreio/ai-workflows","commit_stats":null,"previous_names":["oscoreio/ai-workflows"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscoreio%2Fai-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscoreio%2Fai-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscoreio%2Fai-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscoreio%2Fai-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oscoreio","download_url":"https://codeload.github.com/oscoreio/ai-workflows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249145340,"owners_count":21219966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","aider","github-actions","oscore","reusable","reusable-workflow","workflows"],"created_at":"2025-01-19T05:11:59.327Z","updated_at":"2025-04-15T20:12:07.909Z","avatar_url":"https://github.com/oscoreio.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI workflows\nReusable AI workflows that speed up development.\n\n## Issue to PR using [Aider](https://aider.chat/)\n\nAutomate simple GitHub tasks with Aider by tagging issues with `aider`.  \nAI will generate a PR within a minute for your review, saving you time on coding basic features.\n\nCreate `.github/workflows/issue-to-pr-using-aider.yml` with the following content:\n```yaml\nname: Issue to PR using Aider\n\non:\n  issues:\n    types: [opened, labeled]\n\npermissions:\n  contents: write\n  issues: write\n  pull-requests: write\n\njobs:\n  generate:\n    # Run the job if:\n    # - The event is \"labeled\" and the label name starts with \"aider\", OR\n    # - The event is \"opened\" and one of the issue's labels contains \"aider\"\n    if: \u003e\n      (github.event.action == 'labeled' \u0026\u0026 startsWith(github.event.label.name, 'aider'))\n      ||\n      (github.event.action == 'opened' \u0026\u0026 contains(join(github.event.issue.labels.*.name, ' '), 'aider'))\n    uses: oscoreio/ai-workflows/.github/workflows/issue-to-pr-using-aider.yml@main\n    with:\n      issue-number: ${{ github.event.issue.number }}\n      # install-command: 'npm install'\n      # autofix-command: 'npm run lint:fix'\n      # test-command: 'npm build'\n    secrets:\n      # You need set one of these keys\n      openrouter-api-key: ${{ secrets.OPENROUTER_API_KEY }} # while it allows to use DeepSeek R1 for free, it still required to rate-limiting you\n      openai-api-key: ${{ secrets.OPENAI_API_KEY }}\n      anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}\n      groq-api-key: ${{ secrets.GROQ_API_KEY }}\n      gemini-api-key: ${{ secrets.GEMINI_API_KEY }}\n      cohere-api-key: ${{ secrets.COHERE_API_KEY }}\n      deepseek-api-key: ${{ secrets.DEEPSEEK_API_KEY }}\n```\n![image](https://github.com/user-attachments/assets/8382f4cb-4870-43ca-bd6b-46bc1a172d69)\n\n\n## Comment to commit using [Aider](https://aider.chat/)\n\nAllow to interact with Aider in active PR using `@aider` in message. It can answer you or do a new commit.\n\nCreate `.github/workflows/comment-to-commit-using-aider.yml` with the following content:\n```yaml\nname: Comment to Commit using Aider\n\non:\n  issue_comment:\n    types: [created]\n  pull_request_review_comment:\n    types: [created]\n\npermissions:\n  contents: write\n  issues: write\n  pull-requests: write\n\njobs:\n  generate:\n    if: ${{ contains(github.event.comment.body, '@aider') }}\n    uses: oscoreio/ai-workflows/.github/workflows/comment-to-commit-using-aider.yml@main\n    with:\n      comment-id: ${{ github.event.comment.id }}\n      pr-url: ${{ github.event.issue.pull_request.url || github.event.pull_request.url }}\n      is-review: ${{ github.event_name == 'pull_request_review_comment' }}\n      # install-command: 'npm install'\n      # autofix-command: 'npm run lint:fix'\n      # test-command: 'npm build'\n    secrets:\n      # You need set one of these keys\n      openrouter-api-key: ${{ secrets.OPENROUTER_API_KEY }} # while it allows to use DeepSeek R1 for free, it still required to rate-limiting you\n      openai-api-key: ${{ secrets.OPENAI_API_KEY }}\n      anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}\n      groq-api-key: ${{ secrets.GROQ_API_KEY }}\n      gemini-api-key: ${{ secrets.GEMINI_API_KEY }}\n      cohere-api-key: ${{ secrets.COHERE_API_KEY }}\n      deepseek-api-key: ${{ secrets.DEEPSEEK_API_KEY }}\n```\n\n## Model and reasoning effort selection\n\nYou can control AI model selection and reasoning effort using GitHub labels:\n- Add label starting with `aider-` to select model (e.g. `aider-o3-mini`)\n- Use suffix `-high` for high reasoning effort (e.g. `aider-o3-mini-high`)\n- Special label `aider-r1-free` uses `openrouter/deepseek/deepseek-r1:free`\n\n## All workflows requires access to LLM providers\n\nYou need to get API key from one of providers and set it in `settings/secrets/actions` of your repo or on organization level:  \nOPENAI_API_KEY - https://platform.openai.com/api-keys  \nOPENROUTER_API_KEY - https://openrouter.ai/settings/keys  \nANTHROPIC_API_KEY - https://console.anthropic.com/settings/keys  \nGROQ_API_KEY - https://console.groq.com/keys  \nGEMINI_API_KEY - https://aistudio.google.com/app/apikey  \nCOHERE_API_KEY - https://dashboard.cohere.com/api-keys  \nDEEPSEEK_API_KEY - https://platform.deepseek.com/api_keys  \n\n### Disclaimer\n\nYou're responsible for AI usage costs.  \nOnly project contributors can label issues to trigger the workflow, preventing abuse by non-contributors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscoreio%2Fai-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foscoreio%2Fai-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscoreio%2Fai-workflows/lists"}