From c97c71a31db76daedc7c953c1fa09cfae66f32ea Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sun, 22 Jul 2018 10:21:07 +0200 Subject: [PATCH] refactor(buildkite): use default pr body template --- lib/config/definitions.js | 1 - lib/config/templates/buildkite/pr-body.hbs | 60 ---------------------- 2 files changed, 61 deletions(-) delete mode 100644 lib/config/templates/buildkite/pr-body.hbs diff --git a/lib/config/definitions.js b/lib/config/definitions.js index dc3d719d5d..2fb7ff9869 100644 --- a/lib/config/definitions.js +++ b/lib/config/definitions.js @@ -910,7 +910,6 @@ const options = [ commitMessageExtra: 'to {{#if isMajor}}v{{{newMajor}}}{{else}}{{{newValue}}}{{/if}}', managerBranchPrefix: 'buildkite-', - prBody: template('prBody', 'buildkite'), }, mergeable: true, }, diff --git a/lib/config/templates/buildkite/pr-body.hbs b/lib/config/templates/buildkite/pr-body.hbs deleted file mode 100644 index b73c329a39..0000000000 --- a/lib/config/templates/buildkite/pr-body.hbs +++ /dev/null @@ -1,60 +0,0 @@ -This Pull Request updates buildkite plugin {{#if repositoryUrl}}[{{{depName}}}]({{{repositoryUrl}}}){{else}}`{{{depName}}}`{{/if}} from `{{{currentValue}}}` to `{{{newValue}}}` ([release notes]({{{repositoryUrl}}}/releases/tag/{{{newValue}}})). - -[Compare source commits]({{{repositoryUrl}}}/compare/{{{currentValue}}}...{{{newValue}}}) - -{{#if releases.length}} - -{{#if schedule}} -**Note**: This PR was created on a configured schedule ("{{{schedule}}}"{{#if timezone}} in timezone `{{{timezone}}}`{{/if}}) and will not receive updates outside those times. -{{/if}} - -{{#if isPin}} -**Important**: Renovate will wait until you have merged this Pin request before creating PRs for any *upgrades*. If you do not wish to pin anything, please update your config accordingly instead of leaving this PR open. -{{/if}} -{{#if hasReleaseNotes}} - -<details> -<summary>Release Notes</summary> - -{{#each releases as |release|}} -{{#if release.releaseNotes}} -### [`v{{{release.version}}}`]({{{release.releaseNotes.url}}}) -{{#if release.compare.url}} -[Compare Source]({{release.compare.url}}) -{{/if}} -{{{release.releaseNotes.body}}} - ---- - -{{/if}} -{{/each}} -</details> -{{/if}} - -{{/if}} - -{{#if hasErrors}} - ---- - -# Errors - -Renovate encountered some errors when processing your repository, so you are being notified here even if they do not directly apply to this PR. - -{{#each errors as |error|}} -- `{{error.depName}}`: {{error.message}} -{{/each}} -{{/if}} - -{{#if hasWarnings}} - ---- - -# Warnings - -Please make sure the following warnings are safe to ignore: - -{{#each warnings as |warning|}} -- `{{warning.depName}}`: {{warning.message}} -{{/each}} -{{/if}} -- GitLab