Skip to content

Commit 165d2b3

Browse files
committed
do not run workflow on README changers and better examples thumbnails
1 parent 97942f5 commit 165d2b3

5 files changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ name: "CodeQL Advanced"
33
on:
44
push:
55
branches: [ "main" ]
6+
paths-ignore:
7+
- "**/README*"
68
pull_request:
79
branches: [ "main" ]
10+
paths-ignore:
11+
- "**/README*"
812
schedule:
913
- cron: '20 2 * * 5'
1014

.github/workflows/dockers_deploy_and_test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ on:
2020
workflow_dispatch:
2121

2222
pull_request:
23+
paths-ignore:
24+
- "**/README*"
2325
merge_group:
2426
push:
2527
branches: [ main ]
2628
tags: [ '*' ]
2729
paths-ignore:
2830
- "**/*.md"
31+
- "**/README*"
2932
- "releases/**"
3033
- "doc/**"
3134

.github/workflows/doxygen.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
push:
88
branches:
99
- '*'
10+
paths-ignore:
11+
- "**/README*"
1012
workflow_dispatch:
1113

1214
jobs:

.github/workflows/sanitize.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ on:
1010
push:
1111
branches: [ main ]
1212
tags: [ 'v*' ]
13+
paths-ignore:
14+
- "**/README*"
1315
pull_request:
16+
paths-ignore:
17+
- "**/README*"
1418

1519
jobs:
1620
discover:

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,12 @@ Geometry scripts can write SQLite or ASCII databases, display geometry with PyVi
144144

145145
PyVista is part of the normal GEMC geometry workflow. It lets users inspect detector geometry before running Geant4, export portable VTK.js scenes for documentation, and catch placement or rotation mistakes while editing Python geometry scripts.
146146

147+
<!-- PyVista gallery setting: edit width="200" height="200" below to resize all thumbnails. -->
147148
| B1 | B2 |
148149
| --- | --- |
149-
| <a href="https://gemc.github.io/home/assets/vtkjs-viewer.html?fileURL=https://gemc.github.io/home/assets/images/examples/b1/b1.vtksz"><img src="https://gemc.github.io/home/assets/images/examples/b1/geometry.png" alt="B1 PyVista geometry" width="200" height="200"></a> | <a href="https://gemc.github.io/home/assets/vtkjs-viewer.html?fileURL=https://gemc.github.io/home/assets/images/examples/b2/b2.vtksz"><img src="https://gemc.github.io/home/assets/images/examples/b2/geometry.png" alt="B2 PyVista geometry" width="200" height="200"></a> |
150+
| <a href="https://gemc.github.io/home/assets/vtkjs-viewer.html?fileURL=https://gemc.github.io/home/assets/images/examples/b1/b1.vtksz"><img src="https://gemc.github.io/home/assets/images/examples/b1/geometry.png" alt="B1 PyVista geometry" width="300" height="300"></a> | <a href="https://gemc.github.io/home/assets/vtkjs-viewer.html?fileURL=https://gemc.github.io/home/assets/images/examples/b2/b2.vtksz"><img src="https://gemc.github.io/home/assets/images/examples/b2/geometry.png" alt="B2 PyVista geometry" width="300" height="300"></a> |
150151
| Materials | Simple Flux |
151-
| <a href="https://gemc.github.io/home/assets/vtkjs-viewer.html?fileURL=https://gemc.github.io/home/assets/images/examples/materials/material.vtksz"><img src="https://gemc.github.io/home/assets/images/examples/materials/geometry.png" alt="Materials PyVista geometry" width="200" height="200"></a> | <a href="https://gemc.github.io/home/assets/vtkjs-viewer.html?fileURL=https://gemc.github.io/home/assets/images/examples/simple_flux/simple_flux.vtksz"><img src="https://gemc.github.io/home/assets/images/examples/simple_flux/geometry.png" alt="Simple Flux PyVista geometry" width="200" height="200"></a> |
152+
| <a href="https://gemc.github.io/home/assets/vtkjs-viewer.html?fileURL=https://gemc.github.io/home/assets/images/examples/materials/material.vtksz"><img src="https://gemc.github.io/home/assets/images/examples/materials/geometry.png" alt="Materials PyVista geometry" width="300" height="300"></a> | <a href="https://gemc.github.io/home/assets/vtkjs-viewer.html?fileURL=https://gemc.github.io/home/assets/images/examples/simple_flux/simple_flux.vtksz"><img src="https://gemc.github.io/home/assets/images/examples/simple_flux/geometry.png" alt="Simple Flux PyVista geometry" width="300" height="300"></a> |
152153

153154
Open the linked interactive PyVista scenes generated from the GEMC examples.
154155

0 commit comments

Comments
 (0)