Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[infra] Re-added the removal of Latest Version section #14132

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/githubActions/issueBodyCleanup.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ module.exports = async ({ core, context, github }) => {

const lines = issue.data.body.split('\n');

// this is here to remove this section from the issue body
extractInputSection(lines, 'Latest version');

const searchKeywords = extractInputSection(lines, 'Search keywords');
const products = extractInputSection(lines, 'Affected products');

// get the order id and set it as an output for the support label step
let orderID = extractInputSection(lines, 'Order ID or Support key');
Expand All @@ -36,8 +40,6 @@ module.exports = async ({ core, context, github }) => {

core.setOutput('ORDER_ID', orderID);

const products = extractInputSection(lines, 'Affected products');

// debug log all values
core.debug(`>>> Search Keywords: ${searchKeywords}`);
core.debug(`>>> Order ID: ${orderID}`);
Expand Down