Skip to content

Change branch pattern for update.pot workflow #1

Change branch pattern for update.pot workflow

Change branch pattern for update.pot workflow #1

# ⚠️ DO NOT EDIT THIS FILE, IT IS GENERATED BY COPIER ⚠️
# Changes here will be lost on a future update.
# See: https://github.com/ingadhoc/addons-repo-template
name: Update .pot files
on:
push:
branches: "*.0"
jobs:
update-pot:
runs-on: ubuntu-22.04
container: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Update .pot files
run: |
oca_export_and_push_pot \
https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
if: ${{ github.repository_owner == 'ingadhoc' }}