Skip to content

Fix release-draft workflow to use pull_request_target and increase max_turns to 50#2930

Merged
koxudaxi merged 1 commit intomainfrom
fix/release-draft-workflow
Jan 5, 2026
Merged

Fix release-draft workflow to use pull_request_target and increase max_turns to 50#2930
koxudaxi merged 1 commit intomainfrom
fix/release-draft-workflow

Conversation

@koxudaxi
Copy link
Copy Markdown
Owner

@koxudaxi koxudaxi commented Jan 5, 2026

No description provided.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 5, 2026

Warning

Rate limit exceeded

@koxudaxi has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 18 minutes and 27 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 5acb178 and 52126e9.

📒 Files selected for processing (1)
  • .github/workflows/release-draft.yaml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 5, 2026

📚 Docs Preview: https://pr-2930.datamodel-code-generator.pages.dev

@koxudaxi koxudaxi enabled auto-merge (squash) January 5, 2026 16:54
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Jan 5, 2026

CodSpeed Performance Report

Merging #2930 will not alter performance

Comparing fix/release-draft-workflow (52126e9) with main (5acb178)

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 11 untouched
⏩ 98 skipped1

Footnotes

  1. 98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@koxudaxi koxudaxi merged commit ee08fff into main Jan 5, 2026
33 checks passed
@koxudaxi koxudaxi deleted the fix/release-draft-workflow branch January 5, 2026 16:56
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 5, 2026

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: This PR only modifies the internal GitHub Actions workflow file (.github/workflows/release-draft.yaml) with two changes: (1) switching from pull_request to pull_request_target trigger type for the release draft workflow, and (2) increasing the max-turns parameter from 20 to 50 for Claude Code Action. These are purely CI/CD infrastructure changes that do not affect the datamodel-code-generator library itself - no changes to code generation, templates, CLI/API, default behaviors, Python version support, or error handling.


This analysis was performed by Claude Code Action

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5acb178) to head (52126e9).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2930   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           92        92           
  Lines        16957     16957           
  Branches      1976      1976           
=========================================
  Hits         16957     16957           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 5, 2026

🎉 Released in 0.52.2

This PR is now available in the latest release. See the release notes for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant