Skip to content

Commit 5ac507c

Browse files
committed
build: add pull request instructions
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 0e0ee1f commit 5ac507c

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

.github/workflows/lint_random_files.yml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@ jobs:
230230
\`\`\`
231231
$(cat lint_editorconfig_errors.txt | strip_ansi)
232232
\`\`\`
233+
234+
### Pull Request Instructions
235+
236+
- Please use the following PR title format:
237+
"chore: fix EditorConfig lint errors (issue #<ISSUE_NUMBER>)".
238+
- Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".
233239
EOF
234240
235241
. "$GITHUB_WORKSPACE/.github/workflows/scripts/create_sub_issue" \
@@ -370,20 +376,26 @@ jobs:
370376
run: |
371377
BODY_FILE="$GITHUB_WORKSPACE/lint_issue_body.md"
372378
cat << EOF > "$BODY_FILE"
373-
## JavaScript Linting Failures
379+
## JavaScript Linting Failures
374380
375-
Linting failures were detected in the automated JavaScript lint workflow run.
381+
Linting failures were detected in the automated JavaScript lint workflow run.
376382
377-
### Workflow Details
383+
### Workflow Details
378384
379-
- Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
380-
- Type: JavaScript Linting
381-
- Date: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
385+
- Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
386+
- Type: JavaScript Linting
387+
- Date: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
382388
383-
### Error Details
384-
\`\`\`
385-
$(cat lint_javascript_errors.txt)
386-
\`\`\`
389+
### Error Details
390+
\`\`\`
391+
$(cat lint_javascript_errors.txt)
392+
\`\`\`
393+
394+
### Pull Request Instructions
395+
396+
- Please use the following PR title format:
397+
"chore: fix JavaScript lint errors (issue #<ISSUE_NUMBER>)".
398+
- Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".
387399
EOF
388400
389401
. "$GITHUB_WORKSPACE/.github/workflows/scripts/create_sub_issue" \
@@ -524,6 +536,12 @@ jobs:
524536
\`\`\`
525537
$(grep -B 1 -A 2 "style:\|warning:\|error:" "lint_c_errors.txt")
526538
\`\`\`
539+
540+
### Pull Request Instructions
541+
542+
- Please use the following PR title format:
543+
"chore: fix C lint errors (issue #<ISSUE_NUMBER>)".
544+
- Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".
527545
EOF
528546
529547
. "$GITHUB_WORKSPACE/.github/workflows/scripts/create_sub_issue" \

0 commit comments

Comments
 (0)