Skip to content

Commit 5e57735

Browse files
committed
Make GH actions only run on changes to sources
1 parent 9ea1ec2 commit 5e57735

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/pylint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Pylint
22

3-
on: [push]
3+
on:
4+
push:
5+
paths:
6+
- "castep_outputs/**"
7+
48

59
jobs:
610
build:

.github/workflows/test_castep_outputs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ name: Python application
66
on:
77
push:
88
branches: [ "main" ]
9+
paths:
10+
- "castep_outputs/**"
911
pull_request:
1012
branches: [ "main" ]
13+
paths:
14+
- "castep_outputs/**"
1115

1216
permissions:
1317
contents: read

0 commit comments

Comments
 (0)