-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 55_on_the_fly
- Loading branch information
Showing
4 changed files
with
140 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: 'Citation Check' | ||
|
||
on: | ||
# Run when a branch that modifies a .cff file is merged into main | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- '**/*.cff' | ||
|
||
# Run when commits are pushed to a branch or a PR that modifies a .cff file | ||
pull_request: | ||
paths: | ||
- '**/*.cff' | ||
|
||
# Allow manual triggerings | ||
workflow_dispatch: | ||
|
||
jobs: | ||
citation_check: | ||
name: 'Check Citation' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 'Check out the repo' | ||
uses: actions/checkout@v4 | ||
|
||
- name: 'Setup Python' | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: 'Check citation' | ||
run: | | ||
pip install cffconvert | ||
make check_citation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters