Skip to content

Commit

Permalink
added title to the notices.
Browse files Browse the repository at this point in the history
  • Loading branch information
kbukum1 committed Aug 20, 2024
1 parent 8732d33 commit a880850
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3324,6 +3324,7 @@ def commits_details(base:, head:)
mode: "WARN",
type: "bundler_deprecated_warn",
package_manager_name: "bundler",
title: "Package manager deprecation notice",
message: "Dependabot will stop supporting `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \
Expand All @@ -3342,6 +3343,7 @@ def commits_details(base:, head:)
mode: "WARN",
type: "bundler_deprecated_warn",
package_manager_name: "bundler",
title: "Package manager deprecation notice",
message: "Dependabot will stop supporting `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \
Expand All @@ -3350,6 +3352,7 @@ def commits_details(base:, head:)
mode: "ERROR",
type: "bundler_unsupported_error",
package_manager_name: "bundler",
title: "Package manager deprecation notice",
message: "Dependabot no longer supports `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
markdown: "> [!IMPORTANT]\n> Dependabot no longer supports `bundler v1`!\n>\n" \
Expand All @@ -3370,6 +3373,7 @@ def commits_details(base:, head:)
mode: "WARN",
type: "bundler_deprecated_warn",
package_manager_name: "bundler",
title: "Package manager deprecation notice",
message: "Dependabot will stop supporting `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \
Expand All @@ -3378,6 +3382,7 @@ def commits_details(base:, head:)
mode: "WARN",
type: "bundler_deprecated_warn",
package_manager_name: "bundler",
title: "Package manager deprecation notice",
message: "Dependabot will stop supporting `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
mode: "WARN",
type: "bundler_deprecated_warn",
package_manager_name: "bundler",
title: "Package manager deprecation notice",
message: "Dependabot will stop supporting `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \
Expand Down Expand Up @@ -162,6 +163,7 @@
mode: "WARN",
type: "bundler_deprecated_warn",
package_manager_name: "bundler",
title: "Package manager deprecation notice",
message: "Dependabot will stop supporting `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ def support_later_versions?
mode: "WARN",
type: "bundler_deprecated_warn",
package_manager_name: "bundler",
title: "Package manager deprecation notice",
message: "Dependabot will stop supporting `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,11 @@
mode: "WARN",
type: "bundler_deprecated_warn",
package_manager_name: "bundler",
details: {
message: "Dependabot will stop supporting `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
current_version: "v1",
markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \
"> Please upgrade to one of the following versions: `v2`, or `v3`.\n>\n"
}
title: "Package manager deprecation notice",
message: "Dependabot will stop supporting `bundler v1`!\n" \
"Please upgrade to one of the following versions: `v2`, or `v3`.\n",
markdown: "> [!WARNING]\n> Dependabot will stop supporting `bundler v1`!\n>\n" \
"> Please upgrade to one of the following versions: `v2`, or `v3`.\n>\n"
}])
expect(refresh_security_update_pull_request).to receive(:create_pull_request)
refresh_security_update_pull_request.send(:check_and_update_pull_request, [dependency])
Expand Down

0 comments on commit a880850

Please sign in to comment.