opencode-upgrades #5
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: opencode-upgrades | |
| on: | |
| schedule: | |
| - cron: "0 9 * * 1" # Every Monday at 9am UTC | |
| workflow_dispatch: | |
| jobs: | |
| opencode: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| pull-requests: read | |
| issues: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-java@v5 | |
| with: | |
| java-version: "21" | |
| distribution: temurin | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Run opencode | |
| uses: anomalyco/opencode/github@latest | |
| env: | |
| OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} | |
| with: | |
| model: opencode-go/deepseek-v4-pro | |
| prompt: | | |
| Upgrade the project's dependencies according to the recipe in this file: | |
| {PROJECT_ROOT}/.github/prompts/upgrades.md | |
| Respect the requirements to the letter! |