File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,20 @@ jobs:
3636
3737 - name : Validate Issue Content
3838 id : validate-issue
39+ env :
40+ ISSUE_BODY : ${{ github.event.issue.body }}
3941 run : |
40- issue_body="${{ github.event.issue.body }} "
42+ issue_body="$ISSUE_BODY "
4143 if [[ "$issue_body" == *"AI-generated content"* ]] || [[ "$issue_body" == *"existing sites"* ]]; then
4244 echo "Issue body contains disallowed content."
4345 exit 1
4446 fi
4547
4648 - name : Check for Security and Trust
49+ env :
50+ ISSUE_BODY : ${{ github.event.issue.body }}
4751 run : |
48- issue_body="${{ github.event.issue.body }} "
52+ issue_body="$ISSUE_BODY "
4953 if [[ "$issue_body" != *"security"* ]] || [[ "$issue_body" != *"trust"* ]]; then
5054 echo "Issue does not mention security or trust."
5155 exit 1
You can’t perform that action at this time.
0 commit comments