-
Notifications
You must be signed in to change notification settings - Fork 1.5k
35 lines (28 loc) · 1.23 KB
/
bibtex.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: bibtex
on:
workflow_dispatch:
jobs:
bibtex_update:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install packages
run: |
python -m pip install --upgrade pip
pip install requests
pip install bibtexparser --pre
- name: Run script
run: python ${{ github.workspace }}/tools/build_config/bibtexUpdate.py --bibtex-input ${{ github.workspace }}/docs/sumo.bib --bibtex-output ${{ github.workspace }}/docs/sumo.bib --cited-works "b1914c912dea62703856d89fe3724675a6139b71" "0e62ded610aeb17cc65f9f7159477e48248a98a2" --min-citations 100 --exclude-media "SUMO Conference Proceedings" "International Conference on Simulation of Urban Mobility" "arXiv.org"
- name: Pull request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Update SUMO bibtex file #13811'
title: 'Update SUMO bibtex file'
body: >
Add latest influential papers from SemanticScholar referencing SUMO (auto-generated by Github Action).