Skip to content

Add write permissions to pot generation workflow #3

Add write permissions to pot generation workflow

Add write permissions to pot generation workflow #3

Workflow file for this run

name: Generate POT
on:
push:
branches:
- main
- translations
pull_request:
branches:
- translations
jobs:
WP_POT_Generator:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@master
- name: WordPress POT Generator
uses: varunsridharan/[email protected]
with:
save_path: "./languages"
item_slug: "${{ github.event.repository.name }}"
domain: "${{ github.event.repository.name }}"
package_name: "${{ github.event.repository.name }}"
headers: '{"Report-Msgid-Bugs-To":"https://github.com/${{ github.event.repository.full_name }}/issues"}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}