From 6cc233cc32c6974c6268cc166ca4dde92a5aaece Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 3 Nov 2020 11:49:45 -0500 Subject: [PATCH] ci: label PRs when merged only for now --- .github/workflows/labeler.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 861c9c552..8c6f25001 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,6 @@ name: Labeler on: - pull_request_target: + pull_request_target: [closed] jobs: label: @@ -9,13 +9,7 @@ jobs: steps: - uses: actions/labeler@main - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - sync-labels: true - - - uses: actions/labeler@main - if: "github.event.type == 'closed' && github.event.pull_request.merged == true" + if: github.event.pull_request.merged == true with: repo-token: ${{ secrets.GITHUB_TOKEN }} configuration-path: .github/labeler_merged.yml - sync-labels: true