diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..55d9de5316 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,23 @@ +documentation: + - docs/**/* + - "**/*.md" + +operator: + - operator/**/* + +scheduler: + - scheduler/**/* + +metrics-operator: + - metrics-operator/**/* + +cert-manager: + - klt-cert-manager/**/* + +ops: + - .github/**/* + - netlify.toml + - .markdownlint-cli2.yml + +helm: + - helm/**/* diff --git a/.github/workflows/update-labels.yml b/.github/workflows/update-labels.yml new file mode 100644 index 0000000000..c1567890e2 --- /dev/null +++ b/.github/workflows/update-labels.yml @@ -0,0 +1,15 @@ +name: Set PR Labels + +on: + pull_request_target: +jobs: + set-labels: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-22.04 + steps: + - name: Update Labels + uses: actions/labeler@v4 + with: + sync-labels: true