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.
2 parents 5dca846 + 14647f4 commit 84c8d95Copy full SHA for 84c8d95
1 file changed
.github/workflows/issue_creation_workflow.yml
@@ -36,16 +36,20 @@ jobs:
36
37
- name: Validate Issue Content
38
id: validate-issue
39
+ env:
40
+ ISSUE_BODY: ${{ github.event.issue.body }}
41
run: |
- issue_body="${{ github.event.issue.body }}"
42
+ issue_body="$ISSUE_BODY"
43
if [[ "$issue_body" == *"AI-generated content"* ]] || [[ "$issue_body" == *"existing sites"* ]]; then
44
echo "Issue body contains disallowed content."
45
exit 1
46
fi
47
48
- name: Check for Security and Trust
49
50
51
52
53
if [[ "$issue_body" != *"security"* ]] || [[ "$issue_body" != *"trust"* ]]; then
54
echo "Issue does not mention security or trust."
55
0 commit comments