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