8000 chore: introduce github labeler · podman-desktop/podman-desktop@d9178ca · GitHub
[go: up one dir, main page]

Skip to content

Commit d9178ca

Browse files
committed
chore: introduce github labeler
Signed-off-by: Jiri Dostal <jdostal@redhat.com>
1 parent a206a2d commit d9178ca

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

.github/labeler.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#
2+
# Copyright (C) 2025 Red Hat, Inc.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
# SPDX-License-Identifier: Apache-2.0
17+
18+
# Visual changes
19+
"area/ui":
20+
- changed-files:
21+
- any-glob-to-any-file:
22+
- "packages/renderer/**/*"
23+
- "packages/ui/**/*"
24+
- "storybook/**/*"
25+
- "**/*.svelte"
26+
- "**/*.css"
27+
28+
# Website changes
29+
"area/website":
30+
- changed-files:
31+
- any-glob-to-any-file:
32+
- "website/**/*"

.github/workflows/pr-labeler.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#
2+
# Copyright (C) 2025 Red Hat, Inc.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
# SPDX-License-Identifier: Apache-2.0
17+
18+
name: "PR Labeler"
19+
20+
on:
21+
pull_request_target:
22+
types: [labeled, synchronize, opened, ready_for_review, reopened]
23+
24+
permissions:
25+
contents: read
26+
pull-requests: write
27+
28+
jobs:
29+
labeler:
30+
runs-on: ubuntu-24.04
31+
steps:
32+
- name: Labeler
33+
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9
34+
with:
35+
repo-token: "${{ secrets.PODMAN_DESKTOP_BOT_TOKEN }}"
36+
configuration-path: .github/labeler.yml

0 commit comments

Comments
 (0)
0