You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if echo "$body" | grep -iE "(closes|fixes|resolves|references|ref|close|fix|resolve) #[0-9]+"; then
43
-
echo "has_issue=true" >> $GITHUB_OUTPUT
34
+
if grep -iE "(closes|fixes|resolves|references|ref|close|fix|resolve) #[0-9]+" <<< "${{ github.event.pull_request.body }}"; then
35
+
echo "has_issue=true" >> $GITHUB_OUTPUT
44
36
else
45
-
echo "has_issue=false" >> $GITHUB_OUTPUT
37
+
echo "has_issue=false" >> $GITHUB_OUTPUT
46
38
fi
47
39
48
40
- name: Comment if no linked issue
@@ -59,4 +51,4 @@ jobs:
59
51
- Fixes #issue-number
60
52
- Resolves #issue-number
61
53
62
-
If there isn't an issue yet, please [create one](https://github.com/opensearch-project/project-website/issues/new?template=blog_post.yml) and then link it to this PR.
54
+
If there isn't an issue yet, please [create one](https://github.com/opensearch-project/project-website/issues/new?template=blog_post.yml) and then link it to this PR.
0 commit comments