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:
parent
fae7648ba1
commit
a928d39d0c
|
@ -1,10 +1,13 @@
|
||||||
# List of labels which should be assigned to issues based on a regex
|
# List of labels which should be assigned to issues based on a regex
|
||||||
windows:
|
windows:
|
||||||
- 'Os\/Arch:\s*windows'
|
# info prints OsArch: ...
|
||||||
|
# version prints OS/Arch: ...
|
||||||
|
- 'O[Ss]\/?Arch:\s*windows'
|
||||||
macos:
|
macos:
|
||||||
- 'Os\/Arch:\s*darwin'
|
# info prints OsArch: ...
|
||||||
|
# version prints OS/Arch: ...
|
||||||
|
- 'O[Ss]\/?Arch:\s*darwin'
|
||||||
|
|
||||||
remote:
|
remote:
|
||||||
# podman-remote version prints Client:\nVersion:...
|
# we cannot use multiline regex so we check for serviceIsRemote in podman info
|
||||||
- 'Client:\sVersion:'
|
- 'serviceIsRemote:\strue'
|
||||||
|
|
Loading…
Reference in New Issue