From 8b96d83990c1a14137d52502f0f872bf6cadd1cb Mon Sep 17 00:00:00 2001 From: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com> Date: Tue, 25 Oct 2022 17:04:59 +0200 Subject: [PATCH] Update remove-labels.yml --- .github/workflows/remove-labels.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/remove-labels.yml b/.github/workflows/remove-labels.yml index 5d66113..965bfd3 100644 --- a/.github/workflows/remove-labels.yml +++ b/.github/workflows/remove-labels.yml @@ -16,7 +16,8 @@ jobs: exit 1 shell: pwsh - - uses: actions/labeler@v4 + - name: Add label if tests fail + uses: actions/labeler@v4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - if: ${{ steps.tests.conclusion == 'failure' }} + if: ${{ failure() }}