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() }}