diff options
-rw-r--r-- | .github/issue-labeler.yml | 10 | ||||
-rw-r--r-- | .github/workflows/issue-labeler.yml | 15 |
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 |