Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b8af7f6

Browse files
authoredJan 3, 2025··
Merge branch 'dostonnabotov:main' into feat/rust-snippets-enhancements
2 parents ee4fb58 + ef24250 commit b8af7f6

File tree

292 files changed

+11891
-653
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+11891
-653
lines changed
 

‎.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/src/ @psychlone77 @saminjay
88

99
# Snippets maintainers
10-
/public/data @Mathys-Gasnier
10+
/snippets @Mathys-Gasnier
1111

1212

1313
# ---------- What is a maintainer ----------

‎.github/workflows/check-snippets.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Checks snippets syntax
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'snippets/**'
7+
8+
jobs:
9+
check-snippets:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 22
24+
25+
- name: Check if snippets are formated correctly
26+
uses: int128/comment-action@v1
27+
with:
28+
run: node utils/checkSnippetFormatting.js # Run the script located in the utils/ folder
29+
post-on-failure: |
30+
## :x: Snippet Format Error
31+
${run.output}

0 commit comments

Comments
 (0)
Please sign in to comment.