diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2022-01-27 21:24:34 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2022-01-27 21:24:34 +0100 |
commit | a928d39d0c4b72109c81f5bf8e292c4fafdd8fee (patch) | |
tree | 9595fdf4a29c18fc2e6df69117ce1e788e72b2fe | |
parent | fae7648ba19fc73cc11c38af4267d85b1d52435d (diff) | |
download | podman-a928d39d0c4b72109c81f5bf8e292c4fafdd8fee.tar.gz podman-a928d39d0c4b72109c81f5bf8e292c4fafdd8fee.tar.bz2 podman-a928d39d0c4b72109c81f5bf8e292c4fafdd8fee.zip |
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>
-rw-r--r-- | .github/issue-labeler.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml index fb8ca2a32..e285749a9 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' |