fix: resolve the install from the running binary; make upgrade failures diagnosable (#1305) #11464
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: altimate-code | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_review_comment: | |
| types: [created] | |
| jobs: | |
| altimate-code: | |
| if: | | |
| contains(github.event.comment.body, ' /altimate') || | |
| startsWith(github.event.comment.body, '/altimate') || | |
| contains(github.event.comment.body, ' /ac') || | |
| startsWith(github.event.comment.body, '/ac') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| pull-requests: read | |
| issues: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup-bun | |
| - name: Run Altimate Code | |
| uses: AltimateAI/altimate-code/github@latest | |
| env: | |
| OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} | |
| OPENCODE_PERMISSION: '{"bash": "deny"}' | |
| with: | |
| model: anthropic/claude-opus-4-5 |