Skip to content

Commit

Permalink
not pref
Browse files Browse the repository at this point in the history
  • Loading branch information
dplocki committed Jun 22, 2024
1 parent 9aad658 commit ddae9dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/react_on_all_commits_but.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ jobs:
run: |
PREFIX="prefix"
git log --format=%B -n 1 $GITHUB_SHA | grep -q "^$PREFIX"
echo "prefix_found=${PIPESTATUS[1]}" >> $GITHUB_OUTPUT
if git log --format=%B -n 1 $GITHUB_SHA | grep -q "^$PREFIX"; then
echo "prefix_found=0" >> $GITHUB_OUTPUT
else
echo "prefix_found=1" >> $GITHUB_OUTPUT
fi
- name: Build and Test
if: steps.check_prefix.outputs.prefix_found == '0'
Expand Down

0 comments on commit ddae9dd

Please sign in to comment.