This repository was archived by the owner on Aug 10, 2026. It is now read-only.
Seems like all the cool projects are adding it, so I will too.
#18
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: Llama Auto-Issue Generator | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, labeled] | |
| permissions: read-all | |
| concurrency: | |
| group: ai-issue-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| analyze_code: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| pip install --no-cache-dir PyGithub==2.5.0 requests==2.32.3 | |
| - name: Run AI Analysis | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| REPOSITORY: ${{ github.repository }} | |
| EVENT_NAME: ${{ github.event_name }} | |
| COMMIT_SHA: ${{ github.sha }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| GH_MODELS_TOKEN: ${{ secrets.GH_MODELS_TOKEN }} | |
| ALLOWED_USER: ${{ secrets.ALLOWED_USER }} | |
| run: python "trigger action/trigger_action.py" |