From 6a45e9a69e958ef980b9b7c5a51fe83a3e18ae87 Mon Sep 17 00:00:00 2001 From: Peng Liu Date: Thu, 31 Dec 2020 20:42:17 +0800 Subject: [PATCH] Remove lgtm auto merge from workflows Also add label file for actions/labeler --- .github/labeler.yml | 8 ++++++++ .github/workflows/lgtm-merger.yml | 17 ----------------- 2 files changed, 8 insertions(+), 17 deletions(-) create mode 100644 .github/labeler.yml delete mode 100644 .github/workflows/lgtm-merger.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..97a7cd2b8 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,8 @@ +# labels to be used with /area command +area: + - 'bug' + - 'important' + +# File globs for PR labeler +tests: + - '**/*.test.ts' diff --git a/.github/workflows/lgtm-merger.yml b/.github/workflows/lgtm-merger.yml deleted file mode 100644 index ba1446b02..000000000 --- a/.github/workflows/lgtm-merger.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: "Merge on lgtm label" -on: - schedule: - - cron: "*/20 * * * *" - -jobs: - execute: - runs-on: ubuntu-latest - needs: - - build - - test - steps: - - uses: jpmcb/prow-github-actions@v1.1.2 - with: - jobs: 'lgtm' - github-token: "${{ secrets.GITHUB_TOKEN }}" - merge-method: 'squash'