Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
025de3e
update changelog
github-actions[bot] Mar 21, 2025
cedbd18
chore(deps): update tj-actions/changed-files action to v46.0.2 (#945)
renovate[bot] Mar 22, 2025
760fd90
chore(deps): update tj-actions/changed-files action to v46.0.3 (#947)
renovate[bot] Mar 23, 2025
b34f8b5
chore(deps): lock file maintenance (#948)
renovate[bot] Mar 24, 2025
535c979
fix: Delete Everything Agent Related (#942)
tawsifkamal Mar 24, 2025
995c513
update changelog
github-actions[bot] Mar 24, 2025
d098f00
chore(deps): update pypa/cibuildwheel action to v2.23.2 (#957)
renovate[bot] Mar 24, 2025
0fe99af
fix(deps): update dependency sentry-sdk to v2.24.1 (#951)
renovate[bot] Mar 24, 2025
4300043
chore(deps): bump next from 15.1.2 to 15.2.3 in /codegen-examples/exa…
dependabot[bot] Mar 24, 2025
af912bb
update changelog
github-actions[bot] Mar 24, 2025
6c086fe
fix: add `get_issue_safe` to repo client (#816)
christinewangcw Mar 24, 2025
d981477
Fix: Remove reference to non-existent agent module in CLI (#962)
codegen-sh[bot] Mar 25, 2025
b4e906c
fix: Update docs for `codegen create` command to include required PAT…
codegen-sh[bot] Mar 25, 2025
705d691
update changelog
github-actions[bot] Mar 25, 2025
bc57327
fix: remove `build_graph` transaction (#971)
christinewangcw Mar 26, 2025
ca98730
update changelog
github-actions[bot] Mar 26, 2025
fbc6828
fix(deps): update dependency openai to v1.69.0 (#982)
renovate[bot] Mar 27, 2025
9987455
update changelog
github-actions[bot] Mar 27, 2025
80a5e99
chore(deps): lock file maintenance (#990)
renovate[bot] Mar 31, 2025
6eeb354
fix(deps): update dependency sentry-sdk to v2.25.0 (#991)
renovate[bot] Mar 31, 2025
f4da06c
update changelog
github-actions[bot] Mar 31, 2025
2885994
fix(deps): update dependency openai to v1.70.0 (#992)
renovate[bot] Mar 31, 2025
ea5ee71
update changelog
github-actions[bot] Mar 31, 2025
2737050
chore(deps): update dependency pytest-cov to >=6.1.0,<6.1.1 (#998)
renovate[bot] Apr 1, 2025
f47955f
fix: CG-17050: skip codebase init if repo operator is none (#999)
caroljung-cg Apr 1, 2025
10f7200
update changelog
github-actions[bot] Apr 1, 2025
5af50ea
fix: add logs for git init failure (#1000)
christinewangcw Apr 1, 2025
cd16296
update changelog
github-actions[bot] Apr 1, 2025
d571184
fix(deps): update dependency sentry-sdk to v2.25.1 (#1002)
renovate[bot] Apr 2, 2025
60df161
update changelog
github-actions[bot] Apr 2, 2025
8bcc267
feat: better logger stream allocation (#1006)
caroljung-cg Apr 2, 2025
ce8bc9e
update changelog
github-actions[bot] Apr 2, 2025
8e37506
chore(deps): update dependency jupyterlab to v4.4.0 (#1010)
renovate[bot] Apr 3, 2025
aa851b4
chore(deps): lock file maintenance (#1025)
renovate[bot] Apr 7, 2025
89ecdc9
chore(deps): bump next from 15.2.3 to 15.2.4 in /codegen-examples/exa…
dependabot[bot] Apr 7, 2025
4d5c560
feat: api client (#1027)
rushilpatel0 Apr 8, 2025
f2f2bcc
update changelog
github-actions[bot] Apr 8, 2025
f7d3d23
fix: undefined field type (#1031)
rushilpatel0 Apr 8, 2025
590ce81
update changelog
github-actions[bot] Apr 8, 2025
1bfc54f
docs: prioritizes agent info (#1033)
jayhack Apr 14, 2025
d0f7cb8
fix(deps): update dependency sentry-sdk to v2.26.0 (#1037)
renovate[bot] Apr 14, 2025
65c00bc
chore(deps): lock file maintenance (#1035)
renovate[bot] Apr 14, 2025
48537eb
chore(deps): update codecov/codecov-action action to v5.4.2 (#1038)
renovate[bot] Apr 14, 2025
50ee87d
docs: add pages on integrations (#1039)
jayhack Apr 15, 2025
3110367
fix(deps): update dependency sentry-sdk to v2.26.1 (#1043)
renovate[bot] Apr 15, 2025
9dfa558
docs: new overview page + API page (#1044)
jayhack Apr 15, 2025
48d3f22
docs: removes old blog posts (#1045)
jayhack Apr 15, 2025
d8a0109
docs: homepage updates (#1047)
jayhack Apr 16, 2025
58b25a4
fix: install api client from git repo (#1046)
rushilpatel0 Apr 16, 2025
97afc21
update changelog
github-actions[bot] Apr 16, 2025
bcfb23b
Fix macOS wheel build failures by adding Rust installation (#1048)
codegen-sh[bot] Apr 16, 2025
31e214c
feat: Add `setup_commands` to `repo_config` (#1050)
EdwardJXLi Apr 16, 2025
65baec9
update changelog
github-actions[bot] Apr 16, 2025
cfa587e
fix!: Make pink an optional dependency (#1051)
bagel897 Apr 16, 2025
e01e84a
fix: Remove github requirement from pyproject (#1052)
EdwardJXLi Apr 16, 2025
718cb06
update changelog
github-actions[bot] Apr 16, 2025
5e16095
fix: test openapi docs (#1054)
rushilpatel0 Apr 18, 2025
1b6fb38
chore(deps): lock file maintenance (#1057)
renovate[bot] Apr 21, 2025
536eab6
chore(deps): update dependency jupyterlab to v4.4.1 (#1058)
renovate[bot] Apr 22, 2025
9a829f0
fix(deps): update dependency sentry-sdk to v2.27.0 (#1059)
renovate[bot] Apr 24, 2025
b91453a
chore(deps): update pypa/cibuildwheel action to v2.23.3 (#1064)
renovate[bot] Apr 26, 2025
cce43dc
Update capabilities documentation with recommended best practices (#1…
codegen-sh[bot] Apr 27, 2025
013c1f6
chore(deps): lock file maintenance (#1069)
renovate[bot] Apr 28, 2025
6b5ea60
fix: add server url to openapi spec (#1072)
rushilpatel0 May 3, 2025
ba4a864
chore(deps): lock file maintenance (#1074)
renovate[bot] May 5, 2025
2e08907
chore(deps): update dependency jupyterlab to v4.4.2 (#1076)
renovate[bot] May 6, 2025
0f81299
chore(deps): update slackapi/slack-github-action action to v2.1.0 (#1…
renovate[bot] May 6, 2025
5129296
chore(deps): lock file maintenance (#1079)
renovate[bot] May 12, 2025
393a376
fix(deps): update dependency sentry-sdk to v2.28.0 (#1080)
renovate[bot] May 12, 2025
4bb3afb
fix(deps): update dependency openai to v1.78.1 (#1081)
renovate[bot] May 12, 2025
1c44049
fix(deps): update dependency pyjson5 to v1.6.9 (#1082)
renovate[bot] May 12, 2025
8807ada
docs: Slack App Directory => Slack Marketplace (#1083)
jayhack May 14, 2025
ebe5965
docs: slack app submission updates (#1084)
jayhack May 14, 2025
b443d41
chore(deps): update codecov/codecov-action action to v5.4.3 (#1085)
renovate[bot] May 15, 2025
1496ccb
chore(deps): lock file maintenance (#1088)
renovate[bot] May 19, 2025
8987042
fix(deps): update dependency sentry-sdk to v2.29.1 (#1089)
renovate[bot] May 19, 2025
5e32ac0
chore: add postgres docs (#1090)
jemeza-codegen May 19, 2025
4a6a64a
docs: sandbox docs 1.0 (#1091)
jayhack May 20, 2025
b1fe0bf
docs: update sandbox persistence information (#1093)
codegen-sh[bot] May 20, 2025
5ba123b
docs: settings and configuration (#1095)
jayhack May 20, 2025
e687c01
Joel/slack doc updates (#1098)
joelaguero May 21, 2025
08ab649
update api openapi spec (#1099)
rushilpatel0 May 21, 2025
ac96b79
feat: Add Agent Permissions Documentation (#1104)
codegen-sh[bot] May 23, 2025
7bd1f04
Add Multi Agent Systems documentation to Linear integration page (#1101)
codegen-sh[bot] May 28, 2025
5eb2997
feat: Add base image details and Python version management guide (#1114)
codegen-sh[bot] May 30, 2025
7cb4205
Add Organization Rules Documentation (#1117)
codegen-sh[bot] Jun 1, 2025
678912f
docs: added integrations docs (#1120)
jayhack Jun 3, 2025
649b1b0
fix link (#1124)
kopekC Jun 4, 2025
3761b6c
Add comprehensive documentation for Agent Run Logs API (#1130)
codegen-sh[bot] Jun 10, 2025
c53c8e3
Update Slack integration docs for marketplace compliance (#1133)
codegen-sh[bot] Jun 12, 2025
2f30fb7
Install GTM snippet on Mintlify docs site (#1134)
codegen-sh[bot] Jun 13, 2025
e0e18cf
Rpatel/Update api spec (#1135)
rushilpatel0 Jun 13, 2025
d8f2f30
Rpatel/docs jira integration (#1136)
rushilpatel0 Jun 13, 2025
155e4b6
docs: Adds in docs for the image cache (#1137)
jayhack Jun 16, 2025
491cfee
docs: Add documentation for automatic rule file detection (#1141)
codegen-sh[bot] Jun 17, 2025
238f4b7
Update SEO metadata for docs to clarify it's Codegen documentation (#…
codegen-sh[bot] Jun 18, 2025
bf5f7a0
fix: update open api spec (#1146)
rushilpatel0 Jun 26, 2025
d4e84fd
feat: delete dead code (remove old deps) (#1147)
jayhack Jun 29, 2025
c04e2c2
Fix broken deploy by removing obsolete changelog generation (#1150)
codegen-sh[bot] Jun 29, 2025
398b87a
Replace Mypy with Ty type checker (#1152)
codegen-sh[bot] Jun 29, 2025
b28f1a5
Fix release workflow artifact pattern mismatch (#1154)
codegen-sh[bot] Jun 29, 2025
d23047f
Upgrade CLI to typer (#1151)
codegen-sh[bot] Jun 29, 2025
3d49f83
Fix Ty type errors (#1155)
codegen-sh[bot] Jun 29, 2025
53af51f
Implement MCP Server functionality for Codegen CLI (#1153)
codegen-sh[bot] Jun 29, 2025
d31e69a
Upgrade codegen MCP server - remove codemods, add docs (#1162)
codegen-sh[bot] Jun 30, 2025
71b3a00
Add GitHub Actions integration documentation (#1170)
codegen-sh[bot] Jul 10, 2025
c4ae57d
Add Cursor configuration instructions to MCP documentation (#1171)
codegen-sh[bot] Jul 13, 2025
6dececa
Remove changelog and blog (#1172)
mintlify[bot] Jul 16, 2025
2816dd9
Update nav (#1173)
mintlify[bot] Jul 16, 2025
465c550
Fix JSON syntax error in docs.json (#1174)
codegen-sh[bot] Jul 16, 2025
3c14f40
Add comprehensive documentation for Slack/Linear interrupt system (#1…
codegen-sh[bot] Jul 16, 2025
a72fb96
Update web preview docs to use 127.0.0.1 instead of 0.0.0.0 (#1178)
codegen-sh[bot] Jul 25, 2025
c21c726
docs: update Repo Rules docs for automatic rule files + 25k budget + …
codegen-sh[bot] Aug 7, 2025
7568c39
Remove deprecated docs (#1189)
jayhack Aug 11, 2025
043d947
Rpatel/codegen mcp claude command (#1193)
rushilpatel0 Aug 14, 2025
91fcbce
Removes MCP (this is now remote) (#1194)
jayhack Aug 15, 2025
678abf4
textual v0 + CLI cleanups (#1195)
jayhack Aug 15, 2025
2bf8b6d
Perf improvements (#1196)
jayhack Aug 15, 2025
bb6343b
Adds endpoint to get an agent run's data (#1197)
jayhack Aug 15, 2025
81c9e7b
Adds `codegen agent --id pull` to pull branches locally (#1198)
jayhack Aug 15, 2025
8065503
Update OpenAPI spec from api.codegen.com (@f9bd0bbd7cc1765ab3edeac409…
actions-user Aug 15, 2025
90aac2a
Update OpenAPI spec from api.codegen.com (@c0c2bfdf3d47bbfdb155caf6cb…
actions-user Aug 15, 2025
7c5e1d4
chore: delete gen docs ci file (#1200)
christinewangcw Aug 15, 2025
abecb41
Update OpenAPI spec from api.codegen.com (@02c719aabad4a9e0f5331d85dd…
actions-user Aug 16, 2025
407dff0
chore: bump openapi version (#1202)
christinewangcw Aug 16, 2025
94be7bf
Update OpenAPI spec from api.codegen.com (@407dff0)
actions-user Aug 16, 2025
54385b7
Rpatel/cli updates (#1204)
rushilpatel0 Aug 17, 2025
1a13544
Add remote MCP server configuration documentation (#1199)
codegen-sh[bot] Aug 17, 2025
6d7fea0
Minimal styling for TUI (#1206)
jayhack Aug 18, 2025
b433eec
TUI `/new` fixes (#1207)
codegen-team Aug 18, 2025
715d4a0
Explicit org selector in `codegen profile` and `codegen login` (#1208)
jayhack Aug 18, 2025
c67496d
Update OpenAPI spec codegen-sh/cloud@715d4a0
actions-user Aug 18, 2025
96fe679
Update documentation to reference Claude 4 Sonnet (#1209)
codegen-sh[bot] Aug 18, 2025
90a79c4
fix: constant tab height, [new] escape key, post create buffer (#1210)
rushilpatel0 Aug 18, 2025
014b60b
fix: use `B` for back instead of Esc character (#1211)
rushilpatel0 Aug 19, 2025
8388449
fix: auto refresh recents page (#1212)
rushilpatel0 Aug 19, 2025
68f85a4
fix: minor cleanup (#1217)
rushilpatel0 Aug 19, 2025
1ff7eda
fix: safe import for create claude session method in startup hook (#1…
rushilpatel0 Aug 19, 2025
e422651
Rpatel/safe import (#1220)
rushilpatel0 Aug 19, 2025
fc30bd5
Rpatel/fix import path (#1221)
rushilpatel0 Aug 19, 2025
26911ec
Update README.md (#1215)
fromagge Aug 19, 2025
1678fa8
Rpatel/create session on claude (#1222)
rushilpatel0 Aug 19, 2025
8a03084
fix: remove start hook, and just persist session before claude code
rushilpatel0 Aug 19, 2025
6afa33e
fix: create an persist agent session before claude code (#1223)
rushilpatel0 Aug 19, 2025
9d24402
Add CLI documentation to the Overview section (#1224)
codegen-sh[bot] Aug 19, 2025
359762c
fix: on ctrl-c for claude mode, set status to complete (#1226)
rushilpatel0 Aug 20, 2025
7496a03
fix: update session path formatting (#1227)
rushilpatel0 Aug 20, 2025
584c717
Update OpenAPI spec codegen-sh/cloud@7496a03
actions-user Aug 20, 2025
771ab52
CLI improvements (#1228)
jayhack Aug 20, 2025
782db11
Enables `cg` as a global command (#1229)
jayhack Aug 20, 2025
01341c6
Update OpenAPI spec codegen-sh/cloud@782db11
actions-user Aug 21, 2025
26d522e
fix: update path resolution (#1232)
rushilpatel0 Aug 21, 2025
2068a07
Update OpenAPI spec codegen-sh/cloud@26d522e
actions-user Aug 23, 2025
736a31d
Update OpenAPI spec codegen-sh/cloud@2068a07
actions-user Aug 25, 2025
0b990d7
Rpatel/add telemetry (#1233)
rushilpatel0 Aug 28, 2025
9944617
fix: agent is now a top level import (#1236)
kopekC Sep 3, 2025
87c21a5
Update documentation links to reflect new paths (#1191)
codegen-sh[bot] Sep 3, 2025
d2d6a54
fix: update claude mcp configuration with repo and org headers (#1238)
rushilpatel0 Sep 11, 2025
96f4c65
docs: add requirement for user-installed apps in Jira integration (#1…
codegen-sh[bot] Sep 12, 2025
c3f65c0
Update OpenAPI spec codegen-sh/cloud@96f4c65
actions-user Sep 13, 2025
14c9764
Docs update including videos (#1244)
jayhack Sep 14, 2025
6bcdb0a
Further docs fixes (#1247)
jayhack Sep 14, 2025
c548996
Update Agent Rules documentation to include organization rules and hi…
codegen-sh[bot] Sep 14, 2025
f321b49
Add Claude Code documentation page (#1245)
codegen-sh[bot] Sep 14, 2025
27cd628
Tightens docs (#1248)
jayhack Sep 15, 2025
4f90fae
Better CLI Page (#1249)
jayhack Sep 15, 2025
1f209ac
Add videos to docs (#1252)
jayhack Sep 16, 2025
09ad131
fix: fix version value to use generated version (#1253)
rushilpatel0 Sep 16, 2025
35c841e
Add Trufflehog secret scanning documentation (#1254)
codegen-sh[bot] Sep 16, 2025
97ec710
Further docs cleanup (#1256)
jayhack Sep 16, 2025
8a77161
fix: update codegen claude docs (#1260)
kopekC Sep 17, 2025
1c82d0a
fix: add update command (#1257)
rushilpatel0 Sep 17, 2025
e9f8e63
fix: check for claude install first (#1261)
rushilpatel0 Sep 17, 2025
af881e4
fix: update prompt for auto update (#1262)
rushilpatel0 Sep 17, 2025
322f7b0
Rpatel/force update cleanup (#1263)
rushilpatel0 Sep 17, 2025
8cf3184
fix: remove old commands (#1264)
rushilpatel0 Sep 17, 2025
c8335b3
fix: update args (#1265)
rushilpatel0 Sep 17, 2025
105ea0b
adds docs around web preview (#1266)
kopekC Sep 18, 2025
88dbc0a
Add data scope and audit trail info to Slack security docs (#1269)
codegen-sh[bot] Sep 18, 2025
1e8df0c
Update OpenAPI spec codegen-sh/cloud@88dbc0a
actions-user Sep 19, 2025
7b8d9df
Update OpenAPI spec codegen-sh/cloud@1e8df0c
actions-user Sep 22, 2025
c80d154
Update docs homepage video to new Product Demo Video (#1274)
codegen-sh[bot] Sep 22, 2025
24a717a
Add on-premises deployment documentation (#1272)
codegen-sh[bot] Sep 23, 2025
8703233
On-prem deployment (#1275)
jayhack Sep 23, 2025
12387e7
Update OpenAPI spec codegen-sh/cloud@8703233
actions-user Sep 24, 2025
836a7f3
feat: add organization and user rules to agent (#1278)
kopekC Sep 24, 2025
6a8cbca
Add use cases documentation page (#1277)
codegen-sh[bot] Sep 24, 2025
2071dc5
Update Slack integration docs for better security clarity (#1279)
codegen-sh[bot] Sep 25, 2025
e2e6541
Update OpenAPI spec codegen-sh/cloud@2071dc5
actions-user Oct 1, 2025
9f970ba
Update OpenAPI spec codegen-sh/cloud@e2e6541
actions-user Oct 7, 2025
83cbe32
feat: add multi-ecosystem package downloader with version management
codegen-sh[bot] Feb 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"permissions": {
"allow": [
"mcp__codegen-tools__linear_get_teams",
"mcp__codegen-tools__linear_search_issues",
"mcp__codegen-tools__linear_create_issue"
],
"deny": [],
"ask": []
}
}
15 changes: 0 additions & 15 deletions .codegen/.gitignore

This file was deleted.

44 changes: 0 additions & 44 deletions .codegen/codemods/no_link_backticks/no_link_backticks.py

This file was deleted.

19 changes: 0 additions & 19 deletions .codegen/codemods/test_language/test_language.py

This file was deleted.

18 changes: 0 additions & 18 deletions .codegen/codemods/update_loggers/update_loggers.py

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/release-slack-bot/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
using: "composite"
steps:
# TODO: use python exec instead
- uses: slackapi/slack-github-action@v2.0.0
- uses: slackapi/slack-github-action@v2.1.0
with:
method: chat.postMessage
token: ${{ inputs.slack-token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
- name: Upload coverage reports to Codecov
if: (success() || failure()) # always upload coverage reports even if the tests fail
continue-on-error: true
uses: codecov/codecov-action@v5.4.0
uses: codecov/codecov-action@v5.4.3
with:
token: ${{ inputs.codecov_token }}
files: coverage.xml
Expand Down
23 changes: 4 additions & 19 deletions .github/actions/setup-oss-repos/action.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-action.json
name: "Setup OSS repos"
description: "Setup OSS repos"
# TODO: add size filter
name: "Setup OSS repos (disabled)"
description: "OSS repos setup has been disabled"
runs:
using: "composite"
steps:
- name: Cache oss-repos
id: cache-oss-repos
uses: actions/cache@v4
with:
path: oss_repos
key: ${{ runner.os }}-repo-cache-2-${{hashFiles('codegen-backend/codegen_tests/graph_sitter/codemod/repos/open_source/*.json')}}
- name: Populate oss-repos if the cache is empty
if: steps.cache-oss-repos.outputs.cache-hit != 'true'
- name: Skip OSS repos setup
shell: bash
run: |
uv run --frozen python -m tests.shared.codemod.commands clone-repos --clean-cache
env:
GITHUB_WORKSPACE: $GITHUB_WORKSPACE
- name: Verify cache contents
shell: bash
run: ls -la $GITHUB_WORKSPACE/oss_repos/
run: echo "OSS repos setup is disabled"
32 changes: 0 additions & 32 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,39 +35,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

generate-changelog:
if: ${{ needs.semantic-version.outputs.release-tag }}
needs: semantic-version
name: Generate Changelog
runs-on: ubuntu-latest
environment: auto-release
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GHA_TOKEN }}

- name: Setup backend
uses: ./.github/actions/setup-environment

- name: Generate changelog
env:
OPEN_AI_TOKEN: ${{ secrets.OPEN_AI_TOKEN }}
run: uv run python src/codegen/gscli/cli.py generate changelog --openai-key ${{ secrets.OPEN_AI_TOKEN }}

- name: Commit changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add docs/changelog/changelog.mdx
git diff --staged --quiet || git commit -m "update changelog"

- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: ${{ github.ref }}

release:
if: ${{ needs.semantic-version.outputs.release-tag }}
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/generate-docs.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/mypy.yml

This file was deleted.

11 changes: 6 additions & 5 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ jobs:
- run: uv run --frozen pre-commit run --show-diff-on-failure --color=always --all-files --source ${{ github.event.pull_request.base.sha || github.event.before }} --origin ${{ github.event.pull_request.head.sha || github.event.after }}
shell: bash

- uses: stefanzweifel/git-auto-commit-action@v5
if: ${{ always() && env.REPO_SCOPED_TOKEN && github.event_name == 'pull_request' }}
with:
commit_message: "Automated pre-commit update"
push_options: "--no-verify"
# Temporarily disabled to prevent infinite loop with version updates
# - uses: stefanzweifel/git-auto-commit-action@v5
# if: ${{ always() && env.REPO_SCOPED_TOKEN && github.event_name == 'pull_request' }}
# with:
# commit_message: "Automated pre-commit update"
# push_options: "--no-verify"
35 changes: 9 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,8 @@ permissions:

jobs:
build:
name: Build 3.${{ matrix.python }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [
ubuntu-latest,
ubuntu-22.04-arm, # https://github.com/actions/partner-runner-images/issues/37 https://github.com/orgs/community/discussions/148648#discussioncomment-12099554
macos-latest,
macos-14-large
]
python: [
12,
13,
]

name: Build Pure Python Wheel
runs-on: ubuntu-latest
steps:
- name: Github context
env:
Expand All @@ -58,28 +44,25 @@ jobs:
uses: astral-sh/setup-uv@v5.4
id: setup-uv
with:
enable-cache: false
enable-cache: true
prune-cache: false
python-version: 3.${{ matrix.python }}
python-version: "3.12" # Use single Python version for building
version: '0.5.24'
cache-suffix: 3.${{ matrix.python }}

- name: Fetch tags
if: ${{ inputs.release-tag || startsWith(github.ref, 'refs/tags/') }}
run: |
git branch
git fetch --depth=1 origin +refs/tags/*:refs/tags/*

# TODO: add cbuildwheel cache
- name: Build wheel
uses: pypa/cibuildwheel@v2.23.1
env:
CIBW_BUILD: "*cp3${{ matrix.python }}*"
run: |
uv build --wheel --out-dir dist/

- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-3.${{ matrix.python }}
path: ./wheelhouse/*.whl
name: wheels
path: ./dist/*.whl

release:
if: ${{ inputs.release-tag || startsWith(github.ref, 'refs/tags/') }}
Expand All @@ -99,7 +82,7 @@ jobs:
with:
path: dist
merge-multiple: true
pattern: wheels-*
pattern: wheels

- name: Release PyPI
uses: ./.github/actions/release-pypi
Expand Down
Loading