Skip to content

Commit f6cf94f

Browse files
committed
feat(ci): add labeler
relates to STACKITSDK-217
1 parent d1ada67 commit f6cf94f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/labeler.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Labeler"
2+
on:
3+
pull_request:
4+
types: [opened, synchronize]
5+
workflow_dispatch:
6+
7+
jobs:
8+
labeler:
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
issues: write
13+
name: "Labeler"
14+
runs-on: ubuntu-latest
15+
steps:
16+
# Re-uses the labeler config from the Go SDK, so we only need to maintain one single config file
17+
- name: Fetch labeler config from STACKIT Go SDK
18+
run: |
19+
curl -sSL -o remote-labeler.yml https://raw.githubusercontent.com/stackitcloud/stackit-sdk-go/feat/labeler/.github/labeler.yml
20+
- name: Labeler action
21+
uses: actions/labeler@v6
22+
with:
23+
configuration-path: "remote-labeler.yml"
24+
sync-labels: false

0 commit comments

Comments
 (0)