Fix typos #4
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: git-bob acting | |
| on: | |
| issues: | |
| types: [opened] | |
| issue_comment: | |
| types: | |
| - created | |
| pull_request: | |
| types: [opened, synchronize] | |
| pull_request_review_comment: | |
| types: [ created ] | |
| jobs: | |
| respond: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Print pull request number | |
| run: | | |
| echo "Pull Request Number - ${{ github.event.pull_request.number }}" | |
| echo "Organization - ${{ github.repository_owner }}" | |
| echo "Repository Name - ${{ github.repository }}" | |
| - name: Print Job details | |
| run: | | |
| echo "Run ID - ${{ github.run_id }}" | |
| echo "Run No - ${{ github.run_number }}" | |
| echo "Job - ${{ github.job }}" | |
| echo "Job ID - ${{ github.job_id }}" | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.x | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install git-bob==0.22.1 | |
| # pip install -r requirements.txt | |
| - name: Run git-bob | |
| env: | |
| GIT_BOB_AGENT_NAME: "git-bob" | |
| GIT_BOB_EXTENSIONS_FILTER_REGEXP: ".*" | |
| GIT_BOB_LLM_NAME: "${{ secrets.GIT_BOB_LLM_NAME }}" | |
| ANTHROPIC_API_KEY: "${{ secrets.ANTHROPIC_API_KEY }}" | |
| GOOGLE_API_KEY: "${{ secrets.GOOGLE_API_KEY }}" | |
| OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}" | |
| MISTRAL_API_KEY: "${{ secrets.MISTRAL_API_KEY }}" | |
| GH_MODELS_API_KEY: "${{ secrets.GH_MODELS_API_KEY }}" | |
| KISSKI_API_KEY: "${{ secrets.KISSKI_API_KEY }}" | |
| BLABLADOR_API_KEY: "${{ secrets.BLABLADOR_API_KEY }}" | |
| DEEPSEEK_API_KEY: "${{ secrets.DEEPSEEK_API_KEY }}" | |
| GITHUB_API_KEY: "${{ secrets.GITHUB_TOKEN }}" | |
| GITLAB_API_KEY: "${{ secrets.GITLAB_API_KEY }}" | |
| E_INFRA_CZ_API_KEY: "${{ secrets.E_INFRA_CZ_API_KEY }}" | |
| GITHUB_RUN_ID: "${{ github.run_id }}" | |
| TWINE_USERNAME: "${{ secrets.TWINE_USERNAME }}" | |
| TWINE_PASSWORD: "${{ secrets.TWINE_PASSWORD }}" | |
| SYSTEM_MESSAGE: | | |
| You are an extremely skilled scientific writer and educator. Your name is git-bob. You are sometimes called github-actions bot. | |
| You can solve writing and reviewing tasks. You always write text in files in German. You just sometimes answers in Enlish in discussions. | |
| You cannot retrieve information from other sources but from github.com. | |
| Do not claim anything that you don't know. | |
| In case you are asked to review text, you focus on the quality of the text. Assume the target audience is a general audience. | |
| VISION_SYSTEM_MESSAGE: | | |
| You are an AI-based vision model with excellent skills when it comes to describing image. When describing an image, you typically explain: | |
| * What is shown in the image. | |
| * If the image shows clearly distinct objects in its channels, these structures are listed for each channel individually. | |
| * You speculate how the image was acquired. | |
| run: | | |
| git-bob github-action ${{ github.repository }} ${{ github.event.pull_request.number }} ${{ github.event.issue.number }} |