Skip to content

Commit

Permalink
tools: add REPLACEME and DEP X checks to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcanaltin committed Dec 13, 2024
1 parent 6f084ff commit 011709f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/lint-release-proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,13 @@ jobs:
- name: Verify NODE_VERSION_IS_RELEASE bit is correctly set
run: |
grep -q '^#define NODE_VERSION_IS_RELEASE 1$' src/node_version.h
- name: Check for placeholders in documentation
run: |
if grep -q "REPLACEME" doc/api/*.md; then
echo "Please update REPLACEME tags in doc/api/*.md files. See doc/contributing/releases.md."
exit 1
fi
if grep -q "DEP...X" doc/api/deprecations.md; then
echo "Please update DEP...X in doc/api/deprecations.md. See doc/contributing/releases.md."
exit 1
fi

0 comments on commit 011709f

Please sign in to comment.