Skip to content

Commit e5c0867

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

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/labeler.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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: Checkout STACKIT Go SDK
18+
uses: actions/checkout@v6
19+
with:
20+
repository: "stackitcloud/stackit-sdk-go"
21+
ref: "feat/labeler" # TODO: remove this line before merge!
22+
- name: Labeler action
23+
uses: actions/labeler@v6
24+
with:
25+
configuration-path: 'stackit-sdk-go/.github/labeler.yml'
26+
sync-labels: false

0 commit comments

Comments
 (0)