From 541d1e67bc3b83138d4a6005155d8277f1c230ad Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 28 Feb 2025 11:02:24 +0100 Subject: [PATCH] fix(): add more explicit github action message --- .github/workflows/label-issue.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/label-issue.yml b/.github/workflows/label-issue.yml index 00a0116..3b8c8e4 100644 --- a/.github/workflows/label-issue.yml +++ b/.github/workflows/label-issue.yml @@ -19,3 +19,11 @@ jobs: uses: ./.github/github-action/ with: github_token: ${{ secrets.GITHUB_TOKEN }} + wrong_labels: + runs-on: ubuntu-latest + if: ${{ !startsWith(github.event.pull_request.title, 'Answer') }} + steps: + - name: Set the value in bash + id: step_one + run: | + echo "::error PR title should start with Answer:[number of challenge]" >> $GITHUB_STEP_SUMMARY