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 5d3b329 commit 7ab89b8Copy full SHA for 7ab89b8
.github/workflows/validate-pr-content.lib.yaml
@@ -11,7 +11,15 @@ jobs:
11
- name: Validate PR content
12
run: |
13
PR_BODY=$(jq -r .pull_request.body "$GITHUB_EVENT_PATH")
14
+ PR_USER=$(jq -r .pull_request.user.login "$GITHUB_EVENT_PATH")
15
echo "DEBUG: PR_BODY content is: $PR_BODY"
16
+ echo "DEBUG: PR_USER is: $PR_USER"
17
+
18
+ if [ "$PR_USER" = "renovate" ]; then
19
+ echo "Validation skipped for user: $PR_USER"
20
+ exit 0
21
+ fi
22
23
REQUIRED_SECTIONS=("\\*\\*What this PR does / why we need it\\*\\*:" "\\*\\*Release note\\*\\*:")
24
25
for SECTION in "${REQUIRED_SECTIONS[@]}"; do
0 commit comments