Skip to content

Commit

Permalink
Change citation actions so only run on changes to CITATION.cff in main
Browse files Browse the repository at this point in the history
  • Loading branch information
amyheather committed Jun 12, 2024
1 parent d1a5bf7 commit c94cc93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cff_convert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ run-name: Convert CITATION.cff to other formats

on:
push:
paths:
- CITATION.cff
branches: main
paths: CITATION.cff
workflow_dispatch:

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cff_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ run-name: Check if CITATION.cff is still valid

on:
push:
paths:
- CITATION.cff
branches: main
paths: CITATION.cff
workflow_dispatch:

jobs:
Expand Down

0 comments on commit c94cc93

Please sign in to comment.