Skip to content

Commit

Permalink
fix composer and have workflow commit all ./languages/ file changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Jan 12, 2024
1 parent 2a732c9 commit 9d33a07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wp-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ jobs:
continue-on-error: true
run: git diff --exit-code

- name: Commit updated .pot file
- name: Commit updated language files
if: steps.changes.outcome == 'failure'
run: |
git config --local user.name "${{ github.event.head_commit.author.name }}"
git config --local user.email "${{ github.event.head_commit.author.email }}"
git remote -v
git add '*.pot'
git add './languages'
git commit -m "WordPress I18N triggered by commit ${{ github.sha }}"
git status
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9d33a07

Please sign in to comment.