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]>
Copy link
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 383.83 ms 435.94 ms 52.11 ms
Size 1.58 MiB 2.11 MiB 539.18 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
3699cd5 423.60 ms 495.52 ms 71.92 ms
b750b96 408.98 ms 480.32 ms 71.34 ms
c8125f3 397.65 ms 485.14 ms 87.49 ms
3d205d0 352.15 ms 432.53 ms 80.38 ms
ee747ae 400.46 ms 423.61 ms 23.15 ms
c8125f3 383.82 ms 441.66 ms 57.84 ms
85d7417 347.21 ms 394.35 ms 47.15 ms
17a0955 372.53 ms 446.70 ms 74.17 ms
ee747ae 405.43 ms 485.70 ms 80.28 ms
d217708 409.83 ms 474.72 ms 64.89 ms

App size

Revision Plain With Sentry Diff
3699cd5 1.58 MiB 2.10 MiB 533.45 KiB
b750b96 1.58 MiB 2.10 MiB 533.19 KiB
c8125f3 1.58 MiB 2.10 MiB 532.32 KiB
3d205d0 1.58 MiB 2.10 MiB 532.97 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
c8125f3 1.58 MiB 2.10 MiB 532.32 KiB
85d7417 1.58 MiB 2.10 MiB 533.44 KiB
17a0955 1.58 MiB 2.10 MiB 533.20 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
d217708 1.58 MiB 2.10 MiB 532.97 KiB

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.

1 participant