Merge pull request #34 from jplaui/main #127
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
name: Bib Push Workflow | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- "bib/ESI-publications.bib" | |
workflow_dispatch: | |
jobs: | |
Separate-Bib-File: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out repo content | |
uses: actions/checkout@v3 | |
- name: setup python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: execute bib2split.py | |
run: | | |
python3 bib/tools/bib2split.py ./bib/ESI-publications.bib | |
- name: Create Pull Request | |
id: cpr | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
add-paths: | | |
bib/ESI-Publications-Separated/* | |
branch: pub-split | |
delete-branch: true | |
title: 'Split ESI-publications to individual files' | |
body: | | |
Split ESI-publications to individual files | |
- Auto-generated by [create-pull-request][1] | |
[1]: https://github.com/peter-evans/create-pull-request |