Skip to content

Commit

Permalink
Add action to update POT files
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Dec 20, 2023
1 parent 7fae76c commit 667b604
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci-update-pot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Update POT File

on:
push:
paths:
- aiida-core


jobs:
update-pot:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Update POT file
run: |
# Add your commands here to update the POT file
# For example, you can use the following command to update the POT file from the aiida-core submodule:
# cd aiida-core
# git submodule update --init --recursive
# make update-pot
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
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.

0 comments on commit 667b604

Please sign in to comment.