File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ jobs:
2424 with :
2525 text : ${{ github.event.pull_request.title }}
2626
27- description :
28- name : PR description
27+ body :
28+ name : PR body
2929 runs-on : ubuntu-latest
3030 steps :
3131 - uses : actions/checkout@v6
3232
33- - name : Check PR description headings
33+ - name : Check PR body headings
3434 env :
3535 GITHUB_EVENT_PATH : ${{ github.event_path }}
3636 run : |
@@ -63,10 +63,10 @@ jobs:
6363 actual = extract_h2_headings(body)
6464
6565 if actual != expected:
66- print("PR description headings do not match the repository template.", file=sys.stderr)
66+ print("PR body headings do not match the repository template.", file=sys.stderr)
6767 print(f"Expected headings: {expected}", file=sys.stderr)
6868 print(f"Actual headings: {actual}", file=sys.stderr)
6969 raise SystemExit(1)
7070
71- print("PR description headings match the repository template.")
71+ print("PR body headings match the repository template.")
7272 PY
You can’t perform that action at this time.
0 commit comments