[Bug]: Music does not start (now after BOSE-Shutdown) #40
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: Issue Handler | |
| on: | |
| issues: | |
| types: [opened, edited] | |
| issue_comment: | |
| types: [created] | |
| discussion: | |
| types: [created] | |
| concurrency: | |
| group: issue-handler-${{ github.event.issue.number || github.event.discussion.number || github.run_id }} | |
| cancel-in-progress: false | |
| permissions: | |
| issues: write | |
| contents: read | |
| discussions: read | |
| models: read | |
| jobs: | |
| triage: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: pip install -r scripts/issue_handler/requirements.txt | |
| - name: Restore cost tracker cache | |
| uses: actions/cache/restore@v4 | |
| with: | |
| path: /tmp/ai-cost-tracker | |
| key: ai-cost-tracker-${{ github.run_id }} | |
| restore-keys: | | |
| ai-cost-tracker- | |
| - name: Run issue handler | |
| id: handler | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BOT_PAT: ${{ secrets.BOT_PAT }} | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| GITHUB_EVENT_TYPE: ${{ github.event_name }} | |
| run: python scripts/issue_handler/main.py | |
| - name: Save cost tracker cache | |
| if: always() | |
| uses: actions/cache/save@v4 | |
| with: | |
| path: /tmp/ai-cost-tracker | |
| key: ai-cost-tracker-${{ github.run_id }} |