Skip to content

Commit

Permalink
add non semantic bump labels
Browse files Browse the repository at this point in the history
  • Loading branch information
asmacdo committed Feb 19, 2025
1 parent 49e3b22 commit 1d8953e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const allowedPattern = /^(major|minor|patch)$/;
const allowedPattern = /^(major|minor|patch|performance|internal|documentation|tests|dependencies)$/;
const labels = context.payload.pull_request.labels.map(label => label.name);
const hasValidLabel = labels.some(label => allowedPattern.test(label));
Expand Down

0 comments on commit 1d8953e

Please sign in to comment.