From 498c2781d02fe85f99c8a02a4bcb69a986d1e91a Mon Sep 17 00:00:00 2001 From: Northword Date: Tue, 1 Oct 2024 17:07:16 +0800 Subject: [PATCH] Add action job --- .github/workflows/refresh-journal-lists.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/refresh-journal-lists.yml b/.github/workflows/refresh-journal-lists.yml index d83f631..823a337 100644 --- a/.github/workflows/refresh-journal-lists.yml +++ b/.github/workflows/refresh-journal-lists.yml @@ -56,3 +56,17 @@ jobs: branch: update-mathscinet title: "[Bot] Update MathSciNet Journal abbreviation list" commit-message: "Update MathSciNet journal abbreviation list" + update-ubc: + name: Update UBC + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + - run: pip install beautifulsoup4 requests + - run: python scripts/update_ubc.py + - uses: peter-evans/create-pull-request@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + branch: update-ubc + title: "[Bot] Update UBC Journal abbreviation list" + commit-message: "Update UBC journal abbreviation list"