Skip to content

Commit

Permalink
adding GH workflow to label regression
Browse files Browse the repository at this point in the history
  • Loading branch information
shikha372 committed Aug 9, 2024
1 parent 840e70a commit 06e2496
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Apply various labels on PRs
name: pr-regression-labels
# Apply potential regression label on issues
name: issue-regression-label
on:
issues:
types: [opened, edited]
Expand All @@ -20,7 +20,6 @@ jobs:
const regressionPattern = /\[x\] Select this option if this issue appears to be a regression\./i;
const template = `${process.env.TEMPLATE_BODY}`
const match = regressionPattern.test(template);
console.log(`Is regression: ${match}`);
core.setOutput('is_regression', match);
- name: Manage regression label
env:
Expand Down

0 comments on commit 06e2496

Please sign in to comment.