github: label issues based on os
We get a lot of issues for podman-remote on macos. Since the fact that this is a remote client is often overlooked by us lets add windows, macos and remote label automatically based on a regex which should match the output of podman version. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
5659b0734c
commit
525bdc3771
|
|
@ -0,0 +1,10 @@
|
|||
# List of labels which should be assigned to issues based on a regex
|
||||
windows:
|
||||
- 'Os\/Arch:\s*windows'
|
||||
|
||||
macos:
|
||||
- 'Os\/Arch:\s*darwin'
|
||||
|
||||
remote:
|
||||
# podman-remote version prints Client:\nVersion:...
|
||||
- 'Client:\sVersion:'
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
name: "Issue Labeler"
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: github/issue-labeler@v2.0
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: .github/issue-labeler.yml
|
||||
not-before: 2022-01-27T00:00:00Z
|
||||
enable-versioned-regex: 0
|
||||
Loading…
Reference in New Issue