Skip to content

Commit

Permalink
Make GH actions only run on changes to sources
Browse files Browse the repository at this point in the history
  • Loading branch information
oerc0122 committed Aug 5, 2024
1 parent 9ea1ec2 commit 5e57735
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Pylint

on: [push]
on:
push:
paths:
- "castep_outputs/**"


jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test_castep_outputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ name: Python application
on:
push:
branches: [ "main" ]
paths:
- "castep_outputs/**"
pull_request:
branches: [ "main" ]
paths:
- "castep_outputs/**"

permissions:
contents: read
Expand Down

0 comments on commit 5e57735

Please sign in to comment.