1
0
mirror of https://github.com/laurent22/joplin.git synced 2026-04-18 19:42:23 +02:00

Compare commits

...

6 Commits

Author SHA1 Message Date
Laurent Cozic 538914963b Chore: Hide CodeRabbit review summaries 2026-04-18 10:05:06 +01:00
Sigma 52b1570d5b All: Translation: Update ja_JP.po (#15135) 2026-04-17 19:57:07 -04:00
Laurent Cozic 63ed88eb38 Doc: Fix typo in CLAUDE.md regarding cSpell handling 2026-04-17 21:33:20 +01:00
Laurent Cozic 1fc8790497 Chore: Trying to fix delete-coderabbit-comments workflow 2026-04-17 21:30:48 +01:00
Laurent Cozic f5694d7f84 Chore: Automatically delete useless CodeRabbit comments 2026-04-17 10:32:06 +01:00
Laurent Cozic 02d92228ec Server: Downgrade unsupported image format log to info level 2026-04-17 08:37:58 +01:00
5 changed files with 491 additions and 715 deletions
@@ -0,0 +1,48 @@
name: Delete CodeRabbit PR Comments
on:
issue_comment:
types: [created]
pull_request_review:
types: [submitted]
jobs:
delete-issue-comment:
if: >
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
(github.event.comment.user.login == 'coderabbitai' || github.event.comment.user.login == 'coderabbitai[bot]')
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Delete CodeRabbit comment
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api -X DELETE "${{ github.event.comment.url }}"
hide-review-summary:
if: >
github.event_name == 'pull_request_review' &&
(github.event.review.user.login == 'coderabbitai' || github.event.review.user.login == 'coderabbitai[bot]')
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Minimize CodeRabbit review comment
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_ID: ${{ github.event.review.node_id }}
run: |
# Hide the review summary using GraphQL minimizeComment mutation
gh api graphql -f query='
mutation {
minimizeComment(input: {subjectId: "'"${NODE_ID}"'", classifier: OFF_TOPIC}) {
minimizedComment {
isMinimized
}
}
}
'
+1 -1
View File
@@ -12,7 +12,7 @@
- Avoid duplicating code in tests; when testing the same logic with different inputs, use `test.each` or shared helpers instead of repeating similar test blocks.
- Do not make white space changes - do not add unnecessary new lines, or spaces to existing code, or wrap existing code.
- If you add a new TypeScript file, run `yarn updateIgnored` from the root.
- When an unknown word is detected by cSpell, handle is as per the specification in `readme/dev/spellcheck.md`
- When an unknown word is detected by cSpell, handle it as per the specification in `readme/dev/spellcheck.md`
- To compile TypeScript, use `yarn tsc`. To type-check without emitting files, use `yarn tsc --noEmit`.
## Full Documentation
+1 -1
View File
@@ -320,7 +320,7 @@ export async function createResourcesFromPaths(mediaFiles: DownloadedMediaFile[]
const resource = await shim.createResourceFromPath(mediaFile.path);
return { ...mediaFile, resource };
} catch (error) {
logger.warn(`Cannot create resource for ${mediaFile.originalUrl}`, error);
logger.info(`Cannot create resource for ${mediaFile.originalUrl}`, error);
return { ...mediaFile, resource: null };
}
};
+1
View File
@@ -264,3 +264,4 @@ togglefullscreen
onestore
macshot
pdate
coderabbitai
File diff suppressed because it is too large Load Diff