Skip to content
Merged
Changes from 1 commit
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
9 changes: 5 additions & 4 deletions .github/workflows/priority-score.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
};

const effortWeights = {
"effort:high": 10,
"effort:medium": 5,
"effort:low": 2
"size/l": 9,
"size/m": 4,
"size/s": 1,
"size/xl": 18
};

const issue = context.payload.issue;
Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:
finalScore = Math.round((reach * impact) / effort);
} else {
// Fallback to default values if labels are missing
const defaultReach = reach || 50; // default to medium-low reach
const defaultReach = reach || 75; // default to medium reach
const defaultImpact = impact || 75; // default to low impact
const defaultEffort = effort || 5; // default to medium effort
finalScore = Math.round((defaultReach * defaultImpact) / defaultEffort);
Expand Down
Loading