diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..dff08704 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,19 @@ +'PR: waiting for review': + - '*' + - '.babelrc' + - '.editorconfig' + - '.eslintignore' + - '.eslintrc.js' + - '.gitignore' + - '.prettierrc' + - '.whitesource' + - '.github/**/*' + - '.vscode/**/*' + - '_icons/**/*' + - '_scripts/**/*' + - 'src/**/*' + - 'static/**/*' + +'PR: dependencies': + - 'yarn.lock' + - 'package.json' diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml new file mode 100644 index 00000000..492a3ab7 --- /dev/null +++ b/.github/workflows/label-pr.yml @@ -0,0 +1,15 @@ +name: "Pull Request Labeler" +on: + pull_request_target: + types: [opened, reopened] + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"