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 @@ -33,16 +33,20 @@ jobs:
3333
3434 - name : Validate Issue Content
3535 id : validate-issue
36+ env :
37+ ISSUE_BODY : ${{ github.event.issue.body }}
3638 run : |
37- issue_body="${{ github.event.issue.body }} "
39+ issue_body="$ISSUE_BODY "
3840 if [[ "$issue_body" == *"AI-generated content"* ]] || [[ "$issue_body" == *"existing sites"* ]]; then
3941 echo "Issue body contains disallowed content."
4042 exit 1
4143 fi
4244
4345 - name : Check for Security and Trust
46+ env :
47+ ISSUE_BODY : ${{ github.event.issue.body }}
4448 run : |
45- issue_body="${{ github.event.issue.body }} "
49+ issue_body="$ISSUE_BODY "
4650 if [[ "$issue_body" != *"security"* ]] || [[ "$issue_body" != *"trust"* ]]; then
4751 echo "Issue does not mention security or trust."
4852 exit 1
You can’t perform that action at this time.
0 commit comments