Skip to content

Commit

Permalink
Further restrict po file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jan 25, 2025
1 parent 798c652 commit 77e4444
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,12 @@ jobs:
with:
token: {{"${{ secrets.CODECOV_TOKEN }}"}}
{%- endif %}
- name: Update .pot files
- name: Prepare .pot files update
run: |
git reset --hard {% raw %}${{ github.sha }}{% endraw %}
oca_export_and_commit_pot
mkdir oca-ci-po-patch && touch oca-ci-po-patch/keep
git format-patch --output-directory=oca-ci-po-patch --keep-subject @{u}..@
git format-patch --output-directory=oca-ci-po-patch --keep-subject @{u}..@ */i18n/*.po*
if: matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == '{{ org_slug }}'
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 77e4444

Please sign in to comment.