Skip to content

Conversation

vaind
Copy link
Collaborator

@vaind vaind commented Oct 11, 2025

Summary

Migrates the Danger workflow from v2 (reusable workflow) to v3 (composite action).

This PR correctly performs the migration by converting the job structure from a reusable workflow pattern to a composite action pattern, which is required for v3.

Changes

  • Converted danger job from uses: getsentry/github-workflows/.github/workflows/danger.yml@v2 to runs-on: ubuntu-latest with steps: - uses: getsentry/github-workflows/danger@v3

Why this is needed

PR #4760 (created by Dependabot) incorrectly attempted to migrate by just changing the version number from @v2 to @v3. However, v3 is a breaking change that converted Danger from a reusable workflow to a composite action, which requires a structural change to the workflow file.

Benefits

  • Latest Danger JS version (v13.0.4)
  • Better conventional commit scope handling
  • Enhanced support for non-conventional PR titles

Closes #4760

#skip-changelog

🤖 Generated with Claude Code

Converts danger workflow from reusable workflow (v2) to composite
action (v3). This is a breaking change that requires restructuring
the job definition.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

github-actions bot commented Oct 11, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 381.54 ms 438.66 ms 57.12 ms
Size 1.58 MiB 2.11 MiB 539.17 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
3d205d0 352.15 ms 432.53 ms 80.38 ms
bdbe1f4 380.66 ms 464.44 ms 83.78 ms
9fbb112 359.71 ms 421.85 ms 62.14 ms
ee747ae 386.94 ms 431.43 ms 44.49 ms
3998a95 415.94 ms 478.54 ms 62.60 ms
14ff5ee 419.75 ms 495.73 ms 75.98 ms
ee747ae 554.98 ms 611.50 ms 56.52 ms
b750b96 408.98 ms 480.32 ms 71.34 ms
c8125f3 397.65 ms 485.14 ms 87.49 ms
b750b96 421.25 ms 444.09 ms 22.84 ms

App size

Revision Plain With Sentry Diff
3d205d0 1.58 MiB 2.10 MiB 532.97 KiB
bdbe1f4 1.58 MiB 2.11 MiB 538.88 KiB
9fbb112 1.58 MiB 2.11 MiB 539.18 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
3998a95 1.58 MiB 2.10 MiB 532.96 KiB
14ff5ee 1.58 MiB 2.10 MiB 535.08 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
b750b96 1.58 MiB 2.10 MiB 533.19 KiB
c8125f3 1.58 MiB 2.10 MiB 532.32 KiB
b750b96 1.58 MiB 2.10 MiB 533.20 KiB

Previous results on branch: chore/migrate-danger-workflow-v3

Startup times

Revision Plain With Sentry Diff
feeddce 383.83 ms 435.94 ms 52.11 ms

App size

Revision Plain With Sentry Diff
feeddce 1.58 MiB 2.11 MiB 539.18 KiB

@lcian lcian enabled auto-merge (squash) October 13, 2025 10:57
@lcian lcian merged commit 6b170d0 into main Oct 13, 2025
59 of 61 checks passed
@lcian lcian deleted the chore/migrate-danger-workflow-v3 branch October 13, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants