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' }}