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 308f766 commit bae25f6Copy full SHA for bae25f6
.github/workflows/check-for-issue.yml
@@ -1,4 +1,4 @@
1
-name: Check for issue for blogs
+name: Check for blog issue
2
3
on:
4
pull_request:
@@ -31,7 +31,8 @@ jobs:
31
if: steps.check-new-blog.outputs.is_new_blog == 'true'
32
id: check-issues
33
run: |
34
- if grep -iE "(closes|fixes|resolves|references|ref|close|fix|resolve) #[0-9]+" <<< "${{ github.event.pull_request.body }}"; then
+ echo '${{ github.event.pull_request.body }}' | grep -iE "(closes|fixes|resolves|references|ref|close|fix|resolve) #[0-9]+" > /dev/null
35
+ if [ $? -eq 0 ]; then
36
echo "has_issue=true" >> $GITHUB_OUTPUT
37
else
38
echo "has_issue=false" >> $GITHUB_OUTPUT
0 commit comments