Skip to content

Commit 011709f

Browse files
committed
tools: add REPLACEME and DEP X checks to workflow
1 parent 6f084ff commit 011709f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/lint-release-proposal.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,13 @@ jobs:
5757
- name: Verify NODE_VERSION_IS_RELEASE bit is correctly set
5858
run: |
5959
grep -q '^#define NODE_VERSION_IS_RELEASE 1$' src/node_version.h
60+
- name: Check for placeholders in documentation
61+
run: |
62+
if grep -q "REPLACEME" doc/api/*.md; then
63+
echo "Please update REPLACEME tags in doc/api/*.md files. See doc/contributing/releases.md."
64+
exit 1
65+
fi
66+
if grep -q "DEP...X" doc/api/deprecations.md; then
67+
echo "Please update DEP...X in doc/api/deprecations.md. See doc/contributing/releases.md."
68+
exit 1
69+
fi

0 commit comments

Comments
 (0)