feat(ci): add labeler #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: Checkout STACKIT Go SDK | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: "stackitcloud/stackit-sdk-go" | |
| ref: "feat/labeler" # TODO: remove this line before merge! | |
| - name: Labeler action | |
| uses: actions/labeler@v6 | |
| with: | |
| configuration-path: 'stackit-sdk-go/.github/labeler.yml' | |
| sync-labels: false |