fix: style for mathjax in footnotes (#1252) #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update POT file | |
on: | |
push: | |
branches: | |
- dev | |
paths: | |
- '**.php' | |
- '**.js' | |
workflow_dispatch: | |
jobs: | |
update-pot: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP with tools | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
tools: composer, wp-cli/wp-cli-bundle | |
- name: Update POT file | |
run: wp i18n make-pot . languages/pressbooks-book.pot --domain=pressbooks-book --slug=pressbooks-book --package-name="McLuhan" --headers="{\"Report-Msgid-Bugs-To\":\"https://github.com/pressbooks/pressbooks-book/issues\"}" | |
- name: Create Pull Request for POT file | |
id: cprpot | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.PAT_FOR_GITHUB_ACTIONS }} | |
labels: automerge-pot | |
commit-message: 'chore(l10n): update pot file' | |
title: 'chore(l10n): update pot file' | |
body: 'This pull request updates the POT file for this theme.' | |
branch: chore/update-pot-file | |
- name: Merge pull request with updated POT file | |
if: ${{ steps.cprpot.outputs.pull-request-number }} | |
uses: "pascalgn/[email protected]" | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
MERGE_LABELS: automerge-pot | |
MERGE_METHOD: squash | |
PULL_REQUEST: "${{ steps.cprpot.outputs.pull-request-number }}" |