Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
@@ -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
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Must be changed once stackitcloud/stackit-sdk-go#6115 is merged

- name: Labeler action
uses: actions/labeler@v6
with:
configuration-path: "remote-labeler.yml"
sync-labels: false
Loading