From 5e7ee4834f2243e79a87ea2d3e11191043e8651d Mon Sep 17 00:00:00 2001 From: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com> Date: Tue, 25 Oct 2022 17:00:38 +0200 Subject: [PATCH] Update remove-labels.yml --- .github/workflows/remove-labels.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/remove-labels.yml b/.github/workflows/remove-labels.yml index 9638a00..5d66113 100644 --- a/.github/workflows/remove-labels.yml +++ b/.github/workflows/remove-labels.yml @@ -9,8 +9,14 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - run: Start-Sleep -Seconds 30 + - name: Run tests + id: tests + run: | + Start-Sleep -Seconds 30 + exit 1 shell: pwsh + - uses: actions/labeler@v4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" + if: ${{ steps.tests.conclusion == 'failure' }}