Skip to content

Commit

Permalink
[infra] Re-added the removal of Latest Version section (#14132)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelengelen authored Aug 7, 2024
1 parent 883d1f8 commit 49d196f
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit 49d196f

Please sign in to comment.