File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 99## Which point I want you to review particularly
1010
1111## Memo
12+
13+ ## Checklist
14+
15+ - [ ] Verified backward compatibility related to feature modifications (if not compatible, reported deployment notes to the next release owner).
16+ - [ ] Confirmed backward compatibility for migrations.
17+ - [ ] Verified that no personally identifiable information (PII) is included in any values that may be displayed.
Original file line number Diff line number Diff line change 1+ name : Verify Checklist Completion
2+
3+ on :
4+ pull_request :
5+ types : [opened, edited, synchronize]
6+
7+ jobs :
8+ check :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Get PR body
12+ id : pr
13+ uses : actions/github-script@v7
14+ with :
15+ script : |
16+ const body = context.payload.pull_request.body || "";
17+ core.setOutput("body", body);
18+
19+ - name : Validate checklist
20+ env :
21+ BODY : ${{ steps.pr.outputs.body }}
22+ run : |
23+ if echo "$BODY" | grep -q '\- \[ \]'; then
24+ echo "❌ There are unchecked items in the checklist on this PR."
25+ exit 1
26+ fi
27+ echo "✅ All checklist items are checked on this PR."
You can’t perform that action at this time.
0 commit comments