Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c135be3 commit 01c70baCopy full SHA for 01c70ba
.github/workflows/check_commit_messages.yml
@@ -24,8 +24,9 @@ jobs:
24
echo "prefix=[$VERSION]" >> $GITHUB_OUTPUT
25
26
- name: Check PR title prefix
27
+ env:
28
+ TITLE: ${{ github.event.pull_request.title }}
29
run: |
- TITLE="${{ github.event.pull_request.title }}"
30
PREFIX="${{ steps.vars.outputs.prefix }}"
31
if [[ "$TITLE" != "$PREFIX"* ]]; then
32
echo "❌ PR title must start with the required prefix: $PREFIX"
0 commit comments