-
Notifications
You must be signed in to change notification settings - Fork 89
feat(github): add labeler action #1622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,72 @@ | ||||||||
| # access | ||||||||
| "domain:Access": | ||||||||
| - changed-files: | ||||||||
| - any-glob-to-any-file: | ||||||||
| - "stackit/internal/services/alb/*" | ||||||||
| - "stackit/internal/services/albwaf/*" | ||||||||
| - "stackit/internal/services/cdn/*" | ||||||||
| - "stackit/internal/services/certificates/*" | ||||||||
| - "stackit/internal/services/loadbalancer/*" | ||||||||
| - "stackit/internal/services/vpn/*" | ||||||||
| # runtimes | ||||||||
| "domain:Runtimes": | ||||||||
| - changed-files: | ||||||||
| - any-glob-to-any-file: | ||||||||
| - "stackit/internal/services/ske/*" | ||||||||
| - "stackit/internal/services/scf/*" | ||||||||
| - "stackit/internal/services/edge/*" | ||||||||
| # support | ||||||||
| # no support domain sdk modules available yet | ||||||||
| # central services | ||||||||
| "domain:CentralServices": | ||||||||
| - changed-files: | ||||||||
| - any-glob-to-any-file: | ||||||||
| - "stackit/internal/services/dns/*" | ||||||||
| - "stackit/internal/services/git/*" | ||||||||
| - "stackit/internal/services/intake/*" | ||||||||
| - "stackit/internal/services/kms/*" | ||||||||
| - "stackit/internal/services/kms/*" | ||||||||
|
Comment on lines
+27
to
+28
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. duplicate
Suggested change
|
||||||||
| - "stackit/internal/services/logs/*" | ||||||||
| - "stackit/internal/services/modelserving/*" | ||||||||
| - "stackit/internal/services/observability/*" | ||||||||
| - "stackit/internal/services/rabbitmq/*" | ||||||||
| - "stackit/internal/services/redis/*" | ||||||||
| - "stackit/internal/services/opensearch/*" | ||||||||
| - "stackit/internal/services/logme/*" | ||||||||
| - "stackit/internal/services/telemetryrouter/*" | ||||||||
| - "stackit/internal/services/telemetrylink/*" | ||||||||
| - "stackit/internal/services/secretsmanager/*" | ||||||||
| - "stackit/internal/services/dremio/*" | ||||||||
| - "stackit/internal/services/modelexperiments/*" | ||||||||
| - "stackit/internal/services/ufw/*" | ||||||||
| - "stackit/internal/services/workflows/*" | ||||||||
| - "stackit/internal/services/valkey/*" | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but afaik it's also not yet part of the Terraform provider. So can be probably ignored |
||||||||
| # databases | ||||||||
| "domain:Databases": | ||||||||
| - changed-files: | ||||||||
| - any-glob-to-any-file: | ||||||||
| - "stackit/internal/services/mongodbflex/*" | ||||||||
| - "stackit/internal/services/mariadb/*" | ||||||||
| - "stackit/internal/services/sqlserverflex/*" | ||||||||
| - "stackit/internal/services/postgresflex/*" | ||||||||
| # IaaS | ||||||||
| "domain:IaaS": | ||||||||
| - changed-files: | ||||||||
| - any-glob-to-any-file: | ||||||||
| - "stackit/internal/services/iaas/*" | ||||||||
| - "stackit/internal/services/objectstorage/*" | ||||||||
| - "stackit/internal/services/runcommand/*" | ||||||||
| - "stackit/internal/services/serverbackup/*" | ||||||||
| - "stackit/internal/services/serverupdate/*" | ||||||||
| - "stackit/internal/services/sfs/*" | ||||||||
| - "stackit/internal/services/automation/*" | ||||||||
| # core platform | ||||||||
| "domain:CorePlatform": | ||||||||
| - changed-files: | ||||||||
| - any-glob-to-any-file: | ||||||||
| - "stackit/internal/services/auditlog/*" | ||||||||
| - "stackit/internal/services/authorization/*" | ||||||||
| - "stackit/internal/services/iam/*" | ||||||||
| - "stackit/internal/services/resourcemanager/*" | ||||||||
| - "stackit/internal/services/serviceaccount/*" | ||||||||
| - "stackit/internal/services/serviceenablement/*" | ||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: "Labeler" | ||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize] | ||
| workflow_dispatch: | ||
| schedule: | ||
| # run every full hour (to still label PRs from forks) | ||
| - cron: '0 * * * *' | ||
|
|
||
| jobs: | ||
| labeler: | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| issues: write | ||
| # don't run on PRs from forks (token has no write permissions) | ||
| if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} | ||
| name: "Labeler" | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Labeler action | ||
| uses: actions/labeler@v6 | ||
| with: | ||
| sync-labels: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the SDK we have split Runtimes to Kubernetes and Serverless
https://github.com/stackitcloud/stackit-sdk-go/blob/56e6d395a74ab16e302092343be8c4d6554217f7/.github/labeler.yml#L11-L23