Skip to content

Commit 8a4b365

Browse files
committed
[pr-checklist] fix path spec in workflow
Signed-off-by: Venky Ganesh <[email protected]>
1 parent 1887a26 commit 8a4b365

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pr-checklist.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ jobs:
2020
github-token: ${{ secrets.GITHUB_TOKEN }}
2121
script: |
2222
const fs = require('fs');
23-
const path = require('path');
2423
2524
// Read checklist from file
26-
const checklistPath = path.join(process.env.GITHUB_WORKSPACE, '.github', 'pr-checklist.md');
25+
const checklistPath = process.env.GITHUB_WORKSPACE + '/.github/pr-checklist.md';
2726
const checklistContent = fs.readFileSync(checklistPath, 'utf8');
2827
2928
// Check if we already posted a checklist comment

0 commit comments

Comments
 (0)