Skip to content

Conversation

vaind
Copy link
Contributor

@vaind vaind commented Oct 11, 2025

Summary

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

This PR provides the correct migration from v2 to v3 that requires restructuring the job from a reusable workflow pattern to a composite action pattern with explicit runs-on and steps.

Closes #991

Changes

  • Converted uses: getsentry/github-workflows/.github/workflows/danger.yml@v2 to composite action format
  • Added runs-on: ubuntu-latest to the danger job
  • Restructured to use steps with uses: getsentry/github-workflows/danger@v3

Benefits

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

#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 <noreply@anthropic.com>
Copy link
Member

@romtsn romtsn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@romtsn romtsn merged commit 86b0be2 into getsentry:main Oct 16, 2025
16 checks passed
@vaind vaind deleted the migrate-danger-workflow-v3 branch October 16, 2025 11:59
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