From 06bc1b90d2c46bfff55a9d763b0c95257f76a677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Sun, 23 Jun 2024 19:01:17 +0800 Subject: [PATCH] wip: pr-comment-ci --- .github/workflows/pr-comment-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-comment-ci.yml b/.github/workflows/pr-comment-ci.yml index 6cd30aa..13343cb 100644 --- a/.github/workflows/pr-comment-ci.yml +++ b/.github/workflows/pr-comment-ci.yml @@ -14,7 +14,7 @@ jobs: script: | let next_action = '' const fs = require('fs') - const CODEOWNERS = fs.readFileSync('./.github/CODEOWNERS', 'utf8') + const CODEOWNERS = fs.readFileSync('.github/CODEOWNERS', 'utf8') if (CODEOWNERS.includes(`@${context.payload.comment.user.login}`)) { console.log('Allowed') const body = context.payload.comment.body