Add language to issue on explore #268
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
| on: | |
| issues: | |
| types: [labeled] | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| Creating-PR-using-AIPR: | |
| if: ${{ (github.event_name == 'issues' && | |
| contains( github.event.label.name, 'AIPR')) || | |
| (github.event_name == 'issue_comment' && | |
| github.event.issue.pull_request && | |
| contains( github.event.comment.body, 'Create PR with AIPR 🚀')) }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Executing AIPR action | |
| uses: alexanmtz/AIPR@main | |
| with: | |
| openai_api_key: ${{ secrets.OPENAI_API_KEY }} | |
| openai_tokens: 1400 | |
| file_chunks: 0 | |
| target_branch: master | |