Skip to content

Commit c122e7f

Browse files
committed
Add Semver PR Label Check workflow
1 parent afc3883 commit c122e7f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Semver PR Label Check
2+
3+
# Enforces that every PR must have a semver label: major-change, minor-change,
4+
# patch-change, internal-change, or release
5+
6+
on:
7+
pull_request:
8+
branches: [main]
9+
types: [opened, synchronize, reopened, labeled, unlabeled]
10+
11+
jobs:
12+
run_semver_pr_label_check:
13+
uses: main-branch/semver_pr_label_check/.github/workflows/semver_pr_label_check.yml@main
14+
secrets:
15+
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)