Skip to content

Commit 541d1e6

Browse files
committed
fix(): add more explicit github action message
1 parent 89b37c2 commit 541d1e6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/label-issue.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ jobs:
1919
uses: ./.github/github-action/
2020
with:
2121
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
wrong_labels:
23+
runs-on: ubuntu-latest
24+
if: ${{ !startsWith(github.event.pull_request.title, 'Answer') }}
25+
steps:
26+
- name: Set the value in bash
27+
id: step_one
28+
run: |
29+
echo "::error PR title should start with Answer:[number of challenge]" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)