Skip to content

Commit 57ace8b

Browse files
authored
Add 'SDKBreakingChange' label for any changes within __init__.py file (#183)
1 parent 2e9d60a commit 57ace8b

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Add 'SDKBreakingChange' label if any changes detected within __init__.py file
2+
SDKBreakingChange:
3+
- '**/__init__.py'

.github/workflows/label.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
pull_request:
4+
paths:
5+
- '**/__init__.py'
6+
jobs:
7+
triage:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
steps:
13+
# Add labels based on file changes using label.yml
14+
- uses: actions/labeler@v4
15+
with:
16+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
17+
configuration-path: .github/labeler.yml

0 commit comments

Comments
 (0)