Skip to content

Commit 7db062b

Browse files
alperensertclaude
andcommitted
fix(ci): use PAT for release-please and simplify test matrix
Use RELEASE_PAT instead of GITHUB_TOKEN in release-please workflow so that created releases can trigger the publish workflow. Simplify test matrix to Python 3.12 only. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 115e35c commit 7db062b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
steps:
1616
- uses: googleapis/release-please-action@v4
1717
with:
18-
token: ${{ secrets.GITHUB_TOKEN }}
18+
token: ${{ secrets.RELEASE_PAT }}
1919
config-file: .release-please-config.json
2020
manifest-file: .release-please-manifest.json

.github/workflows/tests.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,17 @@ on:
1414
jobs:
1515
test:
1616
runs-on: ubuntu-latest
17-
strategy:
18-
matrix:
19-
python-version: ['3.9', '3.10', '3.11', '3.12']
20-
2117
env:
2218
API_KEY: ${{ secrets.API_KEY }}
2319

2420
steps:
2521
- name: Checkout repository
2622
uses: actions/checkout@v4
2723

28-
- name: Set up Python ${{ matrix.python-version }}
24+
- name: Set up Python
2925
uses: actions/setup-python@v5
3026
with:
31-
python-version: ${{ matrix.python-version }}
27+
python-version: '3.12'
3228

3329
- name: Install dependencies
3430
run: |

0 commit comments

Comments
 (0)