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
echo "Contributor $contributor has $issue_count open issues. Please complete your existing open issues before creating a new one."
30
+
echo "Contributor ${{ github.event.issue.user.login }} has $issue_count open issues. Please complete your existing open issues before creating a new one."
31
+
exit 1
32
+
fi
33
+
34
+
- name: Validate Issue Content
35
+
id: validate-issue
36
+
run: |
37
+
issue_body="${{ github.event.issue.body }}"
38
+
if [[ "$issue_body" == *"AI-generated content"* ]] || [[ "$issue_body" == *"existing sites"* ]]; then
39
+
echo "Issue body contains disallowed content."
40
+
exit 1
41
+
fi
42
+
43
+
- name: Check for Security and Trust
44
+
run: |
45
+
issue_body="${{ github.event.issue.body }}"
46
+
if [[ "$issue_body" != *"security"* ]] || [[ "$issue_body" != *"trust"* ]]; then
0 commit comments