github: label issues based on os fix regex

Good news the github action works, however I noticed that we cannot use
a multiline regex so we have to use serviceIsRemote to detect if this is
a remote client. Also change the os regex so that it matches both the
output of podman version and podman info.

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
Paul Holzinger
2022-01-27 21:24:34 +01:00
parent fae7648ba1
commit a928d39d0c

View File

@ -1,10 +1,13 @@
# List of labels which should be assigned to issues based on a regex
windows:
- 'Os\/Arch:\s*windows'
# info prints OsArch: ...
# version prints OS/Arch: ...
- 'O[Ss]\/?Arch:\s*windows'
macos:
- 'Os\/Arch:\s*darwin'
# info prints OsArch: ...
# version prints OS/Arch: ...
- 'O[Ss]\/?Arch:\s*darwin'
remote:
# podman-remote version prints Client:\nVersion:...
- 'Client:\sVersion:'
# we cannot use multiline regex so we check for serviceIsRemote in podman info
- 'serviceIsRemote:\strue'