Skip to content

Commit

Permalink
add pot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Jan 26, 2022
1 parent b536a1a commit bf09025
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Generate POT file

on:
push:
branches:
- master
workflow_dispatch: {}

jobs:
generate-pot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install WP-POT-CLI
run: npm install --global wp-pot-cli

- name: Generate POT file
run: script/generate-pot

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: "Update POT file"
title: "Update POT file"

0 comments on commit bf09025

Please sign in to comment.