Skip to content

Bump aiida-core from b7e59a0 to adcce4b (#168) #14

Bump aiida-core from b7e59a0 to adcce4b (#168)

Bump aiida-core from b7e59a0 to adcce4b (#168) #14

Workflow file for this run

name: Update POT File
on:
push:
paths:
# should be a file since it is a submodule
- aiida-core
branches:
- main
workflow_dispatch:
jobs:
update-pot:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install aiida-core
run: |
pip install -e .[docs,tests,rest,atomic_tools]
working-directory: aiida-core
- name: Generate and update POT files
run: |
make -C docs/ gettext
working-directory: aiida-core
- name: Copy POT files to locale_sources
run: |
for file in aiida-core/docs/build/locale/*.pot; do
if [ "$file" != "aiida-core/docs/build/locale/reference.pot" ]; then
cp "$file" locale_sources/
fi
done
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update POT file
title: Update POT file
body: |
This pull request updates the POT file from the aiida-core submodule.
branch: update-pot-file-${{ github.sha }}
reviewers: unkcpz