From a119da42d32c4e79fc14aa973aafb342fd358afa Mon Sep 17 00:00:00 2001 From: Jan Havlena Date: Wed, 18 Nov 2026 12:46:10 +0100 Subject: [PATCH 1/3] Remove broken Codex PR review workflow Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/pr-review-codex.yml | 67 --------------------------- 1 file changed, 67 deletions(-) delete mode 100644 .github/workflows/pr-review-codex.yml diff --git a/.github/workflows/pr-review-codex.yml b/.github/workflows/pr-review-codex.yml deleted file mode 100644 index 0a94628..0000000 --- a/.github/workflows/pr-review-codex.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: Perform a code review when a pull request is created. -on: - pull_request: - types: [opened, synchronize, reopened, ready_for_review, labeled] - -jobs: - codex: - runs-on: ubuntu-24.04 - - permissions: - contents: read - pull-requests: write - issues: write - - outputs: - final_message: ${{ steps.run_codex.outputs.final-message }} - steps: - - uses: actions/checkout@v5 - with: - ref: refs/pull/${{ github.event.pull_request.number }}/merge - - - name: Pre-fetch base and head refs for the PR - run: | - git fetch --no-tags origin \ - ${{ github.event.pull_request.base.ref }} \ - +refs/pull/${{ github.event.pull_request.number }}/head - - - name: Run Codex - id: run_codex - uses: openai/codex-action@v1 - with: - openai-api-key: ${{ secrets.OPENAI_API_KEY }} - prompt: | - This is PR #${{ github.event.pull_request.number }} for ${{ github.repository }}. - Base SHA: ${{ github.event.pull_request.base.sha }} - Head SHA: ${{ github.event.pull_request.head.sha }} - - Review ONLY the changes introduced by the PR. - Suggest any improvements, potential bugs, security issues, or issues. - Be concise and specific in your feedback. - - Pull request title and body: - ---- - ${{ github.event.pull_request.title }} - ${{ github.event.pull_request.body }} - - post_feedback: - runs-on: ubuntu-latest - needs: codex - if: needs.codex.outputs.final_message != '' - permissions: - issues: write - pull-requests: write - steps: - - name: Report Codex feedback - uses: actions/github-script@v7 - env: - CODEX_FINAL_MESSAGE: ${{ needs.codex.outputs.final_message }} - with: - github-token: ${{ github.token }} - script: | - await github.rest.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.payload.pull_request.number, - body: process.env.CODEX_FINAL_MESSAGE, - }); From 7f510dd885b7008d40ba487d3963f54d49218573 Mon Sep 17 00:00:00 2001 From: Jan Havlena Date: Wed, 18 Nov 2026 12:47:40 +0100 Subject: [PATCH 2/3] Pin test CI to ubuntu-24.04 so Python 3.9 is available Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f962b4..4d8c898 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ on: jobs: pytest: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: From 983881c83715ddaa8a8f2a12c59f265a7b235a0c Mon Sep 17 00:00:00 2001 From: Jan Havlena Date: Wed, 18 Nov 2026 12:50:14 +0100 Subject: [PATCH 3/3] Test against Python 3.13 and 3.14 in CI Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d8c898..b79b4af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,8 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" + - "3.14" steps: - uses: actions/checkout@v4