Skip to content

Conversation

@vaind
Copy link
Contributor

@vaind vaind commented Sep 24, 2025

Summary

Changes the default value for the pr-strategy input parameter from create to update in the updater composite action.

Breaking Change

  • Previous behavior: Created separate PRs for each dependency version update
  • New behavior: Maintains a single PR that gets updated with the latest dependency version

Migration

Users who want to preserve the previous behavior must explicitly set pr-strategy: create:

- uses: getsentry/github-workflows/updater@v3
  with:
    path: path/to/dependency
    name: Dependency Name
    pr-strategy: create  # Explicitly preserve previous behavior
    api-token: ${{ secrets.GITHUB_TOKEN }}

Files Changed

  • updater/action.yml: Changed default value from 'create' to 'update'
  • updater/README.md: Updated documentation to reflect new default
  • CHANGELOG.md: Added breaking change entry with migration instructions

🤖 Generated with Claude Code

vaind and others added 3 commits September 24, 2025 17:18
BREAKING CHANGE: The default value for pr-strategy has been changed from 'create' to 'update'.

Previously, the updater would create separate PRs for each dependency version. Now it maintains a single PR that gets updated with new versions.

To preserve the previous behavior, explicitly set pr-strategy: create in your workflow configuration.

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

Co-Authored-By: Claude <noreply@anthropic.com>
@vaind vaind merged commit 67d5a87 into main Sep 24, 2025
17 checks passed
@vaind vaind deleted the feat/pr-strategy-default-update branch September 24, 2025 15:32
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