From 7c71dd386161703dc25860870f579cca0ff3a9a8 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 12 Oct 2020 23:04:16 -0400 Subject: [PATCH] ci: inverted labeler logic --- .github/workflows/labeler.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 8e833fc38..052261a20 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -7,12 +7,14 @@ jobs: name: Labeler runs-on: ubuntu-latest steps: + - uses: actions/labeler@main with: repo-token: ${{ secrets.GITHUB_TOKEN }} sync-labels: true + - uses: actions/labeler@main - if: "!(github.event.action == 'closed' && github.event.pull_request.merged == false)" + if: "github.event.action == 'closed' && github.event.pull_request.merged == true" with: repo-token: ${{ secrets.GITHUB_TOKEN }} configuration-path: .github/labeler_merged.yml