From f6cf94f18b45d1167bdb95c2de1d2a2d341452d1 Mon Sep 17 00:00:00 2001 From: Ruben Hoenle Date: Thu, 2 Apr 2026 10:17:36 +0200 Subject: [PATCH 1/2] feat(ci): add labeler relates to STACKITSDK-217 --- .github/workflows/labeler.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/labeler.yaml diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml new file mode 100644 index 00000000..07e8a350 --- /dev/null +++ b/.github/workflows/labeler.yaml @@ -0,0 +1,24 @@ +name: "Labeler" +on: + pull_request: + types: [opened, synchronize] + workflow_dispatch: + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + issues: write + name: "Labeler" + runs-on: ubuntu-latest + steps: + # Re-uses the labeler config from the Go SDK, so we only need to maintain one single config file + - name: Fetch labeler config from STACKIT Go SDK + run: | + curl -sSL -o remote-labeler.yml https://raw.githubusercontent.com/stackitcloud/stackit-sdk-go/feat/labeler/.github/labeler.yml + - name: Labeler action + uses: actions/labeler@v6 + with: + configuration-path: "remote-labeler.yml" + sync-labels: false From ec54cc36a136a4006e9f7620b3e354037e3bb889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20H=C3=B6nle?= Date: Wed, 8 Apr 2026 11:17:58 +0200 Subject: [PATCH 2/2] Update .github/workflows/labeler.yaml --- .github/workflows/labeler.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index 07e8a350..2b3d105d 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -16,7 +16,7 @@ jobs: # Re-uses the labeler config from the Go SDK, so we only need to maintain one single config file - name: Fetch labeler config from STACKIT Go SDK run: | - curl -sSL -o remote-labeler.yml https://raw.githubusercontent.com/stackitcloud/stackit-sdk-go/feat/labeler/.github/labeler.yml + curl -sSL -o remote-labeler.yml https://raw.githubusercontent.com/stackitcloud/stackit-sdk-go/main/.github/labeler.yml - name: Labeler action uses: actions/labeler@v6 with: