File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : MegaLinter
3+
4+ on :
5+ push :
6+ pull_request :
7+ branches : [main, master]
8+
9+ env :
10+ APPLY_FIXES : none
11+
12+ concurrency :
13+ group : ${{ github.ref }}-${{ github.workflow }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+ megalinter :
18+ name : MegaLinter
19+ runs-on : ubuntu-latest
20+ permissions :
21+ contents : write
22+ pull-requests : write
23+ steps :
24+ - name : Checkout Code
25+ uses : actions/checkout@v6
26+ with :
27+ fetch-depth : 0
28+
29+ - name : MegaLinter
30+ uses : oxsecurity/megalinter/flavors/documentation@v9
31+ env :
32+ VALIDATE_ALL_CODEBASE : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ MARKDOWN_MARKDOWNLINT : true
35+ XML_XMLLINT : true
36+
37+ - name : Archive production artifacts
38+ if : success() || failure()
39+ uses : actions/upload-artifact@v4
40+ with :
41+ name : MegaLinter-reports
42+ path : |
43+ megalinter-reports
44+ mega-linter.log
Original file line number Diff line number Diff line change 1+ # Test MegaLinter Hybride
2+
3+ Ce fichier contient à la fois du Markdown et du XML.
4+
5+ ## Section Markdown
6+
7+ Voici du texte en ** gras** , en * italique* , et du ` code ` .
8+
9+ ### Liste Markdown
10+ - Item 1
11+ - Item 2
12+ - Item 3
13+
14+ ## Section XML
15+
16+ Voici un bloc de code XML qui sera analysé par MegaLinter :
17+
18+ ``` xml
19+ <root version =" 1.0" >
20+ <config >
21+ <key name =" test" >valeur</key >
22+ <item >élément 1</item >
23+ <item >élément 2</item >
24+ </config >
25+ </root >
26+ ```
27+
28+ ## Autre bloc XML
29+
30+ ``` xml
31+ <data >
32+ <record id =" 1" >
33+ <field >Content here</field >
34+ </record >
35+ </data >
36+ ```
37+
38+ ---
39+
40+ > Ce fichier est utilisé pour tester le workflow MegaLinter sur des fichiers hybrides MD/XML.
You can’t perform that action at this time.
0 commit comments