summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-27 13:54:51 -0500
committerGitHub <noreply@github.com>2022-01-27 13:54:51 -0500
commitfae7648ba19fc73cc11c38af4267d85b1d52435d (patch)
tree5890833dcbc54ee2210fe7f8dc2d7fdf6b18ae11
parent908329c3901204a501be902606e073b3b05e28c0 (diff)
parent525bdc37718b4d1a48910f7e6b9acf1005078fac (diff)
downloadpodman-fae7648ba19fc73cc11c38af4267d85b1d52435d.tar.gz
podman-fae7648ba19fc73cc11c38af4267d85b1d52435d.tar.bz2
podman-fae7648ba19fc73cc11c38af4267d85b1d52435d.zip
Merge pull request #13050 from Luap99/issues
[CI:DOCS] github: label issues based on os
-rw-r--r--.github/issue-labeler.yml10
-rw-r--r--.github/workflows/issue-labeler.yml15
2 files changed, 25 insertions, 0 deletions
diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml
new file mode 100644
index 000000000..fb8ca2a32
--- /dev/null
+++ b/.github/issue-labeler.yml
@@ -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:'
diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.yml
new file mode 100644
index 000000000..ee9785d23
--- /dev/null
+++ b/.github/workflows/issue-labeler.yml
@@ -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