Skip to content

Commit af282a4

Browse files
committed
ci: Fix token
Signed-off-by: Chaitanya Tata <[email protected]>
1 parent ad02bef commit af282a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/module-monitor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ jobs:
369369
- name: Create or update comment
370370
uses: actions/github-script@v7
371371
with:
372+
github-token: ${{ secrets.GITHUB_TOKEN }}
372373
script: |
373374
const { data: comments } = await github.rest.issues.listComments({
374375
owner: context.repo.owner,
@@ -411,6 +412,9 @@ jobs:
411412
console.log('Error:', error.message);
412413
console.log('Comment body that would have been posted:');
413414
console.log(commentBody);
415+
416+
// Don't fail the workflow - the PR detection worked correctly
417+
console.log('Workflow completed successfully - PR detection and diff generation worked correctly.');
414418
}
415419
env:
416420
diff_output: ${{ steps.set-output.outputs.diff_output }}

0 commit comments

Comments
 (0)