From a928d39d0c4b72109c81f5bf8e292c4fafdd8fee Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Thu, 27 Jan 2022 21:24:34 +0100 Subject: [PATCH] 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 --- .github/issue-labeler.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml index fb8ca2a321..e285749a96 100644 --- a/.github/issue-labeler.yml +++ b/.github/issue-labeler.yml @@ -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'