You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: Change updater pr-strategy default to 'update'
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 <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,19 @@
4
4
5
5
### Breaking Changes
6
6
7
+
Updater: The default value for `pr-strategy` has been changed from `create` to `update`.
8
+
9
+
This change means the updater will now maintain a single PR that gets updated with new dependency versions (instead of creating separate PRs for each version).
10
+
11
+
If you want to preserve the previous behavior of creating separate PRs, explicitly set `pr-strategy: create` in your workflow:
12
+
13
+
```yaml
14
+
- uses: getsentry/github-workflows/updater@v3
15
+
with:
16
+
# ... other inputs ...
17
+
pr-strategy: create # Add this to preserve previous behavior
18
+
```
19
+
7
20
Updater and Danger reusable workflows are now composite actions ([#114](https://github.com/getsentry/github-workflows/pull/114))
Copy file name to clipboardExpand all lines: updater/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,8 +129,8 @@ jobs:
129
129
* default: Dependencies
130
130
* `pr-strategy`: How to handle PRs.
131
131
Can be either of the following:
132
-
* `create` (default) - create a new PR for new dependency versions as they are released - maintainers may merge or close older PRs manually
133
-
* `update` - keep a single PR that gets updated with new dependency versions until merged - only the latest version update is available at any time
132
+
* `create` - create a new PR for new dependency versions as they are released - maintainers may merge or close older PRs manually
133
+
* `update` (default) - keep a single PR that gets updated with new dependency versions until merged - only the latest version update is available at any time
134
134
* `target-branch`: Branch to use as base for dependency updates. Defaults to repository default branch if not specified.
0 commit comments