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.
1 parent aa1e271 commit 6374b9aCopy full SHA for 6374b9a
1 file changed
workflow-templates/ai-policy.yml
@@ -75,10 +75,10 @@ jobs:
75
run: |
76
set -euo pipefail
77
AI_ASSISTED=false
78
- if grep -qiE '^(AI-assistant|Assisted-by):' /tmp/pr_commits.txt; then
+ if grep -qiE '^(AI-assistant|Assisted-by|AI-Assisted-By):' /tmp/pr_commits.txt; then
79
AI_ASSISTED=true
80
- echo "Found AI-assistant/Assisted-by trailer(s):"
81
- grep -iE '^(AI-assistant|Assisted-by):' /tmp/pr_commits.txt
+ echo "Found AI-assistant/Assisted-by/AI-Assisted-By trailer(s):"
+ grep -iE '^(AI-assistant|Assisted-by|AI-Assisted-By):' /tmp/pr_commits.txt
82
fi
83
echo "ai_assisted=${AI_ASSISTED}" >> "$GITHUB_OUTPUT"
84
0 commit comments