diff --git a/docs/configuration.md b/docs/configuration.md index 5ccb1fb5274fe83c48af196f61a80412b14c05cf..344ff6c7f364a0165511f014a1d18148e7f82a24 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -609,7 +609,7 @@ location with this method. <td>`prNotPendingHours`</td> <td>Timeout in hours for when prCreation=not-pending</td> <td>integer</td> - <td><pre>12</pre></td> + <td><pre>24</pre></td> <td>`RENOVATE_PR_NOT_PENDING_HOURS`</td> <td>`--pr-not-pending-hours`<td> </tr> diff --git a/lib/config/definitions.js b/lib/config/definitions.js index 1f656c24745e07adf010f34044ed736b00f2e2f5..ecd73e3a5deb6cb0f5c49bb4f351d619b0d381a8 100644 --- a/lib/config/definitions.js +++ b/lib/config/definitions.js @@ -495,7 +495,8 @@ const options = [ name: 'prNotPendingHours', description: 'Timeout in hours for when prCreation=not-pending', type: 'integer', - default: 12, + // Must be at least 24 hours to give time for the unpublishSafe check to "complete". + default: 24, }, // Automatic merging { diff --git a/test/manager/__snapshots__/resolve.spec.js.snap b/test/manager/__snapshots__/resolve.spec.js.snap index e62eb84483461e2287caf899b7d19f7e016c661f..d1ce9c9ba38e235494a88349f57a0c353bf24164 100644 --- a/test/manager/__snapshots__/resolve.spec.js.snap +++ b/test/manager/__snapshots__/resolve.spec.js.snap @@ -502,7 +502,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -1040,7 +1040,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -1834,7 +1834,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -2367,7 +2367,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -2891,7 +2891,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -3415,7 +3415,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -3948,7 +3948,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, diff --git a/test/workers/package/__snapshots__/index.spec.js.snap b/test/workers/package/__snapshots__/index.spec.js.snap index 8cb541f64089e1cb41fd288ff319e12c23138581..8008d812107dcbaeb2e548a07763b6380204f756 100644 --- a/test/workers/package/__snapshots__/index.spec.js.snap +++ b/test/workers/package/__snapshots__/index.spec.js.snap @@ -139,7 +139,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "rebaseStalePrs": true, "recreateClosed": true, diff --git a/test/workers/repository/updates/__snapshots__/branchify.spec.js.snap b/test/workers/repository/updates/__snapshots__/branchify.spec.js.snap index c59cd6f308c5b03be245237b396f8f0b2ac6c143..f158e8007e7b405f130f63e0a84e8b746943065d 100644 --- a/test/workers/repository/updates/__snapshots__/branchify.spec.js.snap +++ b/test/workers/repository/updates/__snapshots__/branchify.spec.js.snap @@ -541,7 +541,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -1102,7 +1102,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -1669,7 +1669,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -2224,7 +2224,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false, @@ -2774,7 +2774,7 @@ Please make sure the following warnings are safe to ignore: This PR has been generated by [Renovate Bot](https://renovateapp.com).", "prCreation": "immediate", - "prNotPendingHours": 12, + "prNotPendingHours": 24, "prTitle": "{{#if isPin}}Pin{{else}}{{#if isRollback}}Roll back{{else}}Update{{/if}}{{/if}} dependency {{depName}} to {{#if isRange}}{{newVersion}}{{else}}{{#if isMajor}}v{{newVersionMajor}}{{else}}v{{newVersion}}{{/if}}{{/if}}", "privateKey": null, "rebaseStalePrs": false,