Skip to content

Wordpress test CT #1303

Wordpress test CT

Wordpress test CT #1303

Workflow file for this run

on:
issues:
issue_comment:
push:
branches: [develop]
jobs:
readme-writer:
name: Write README.md
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: develop
# we use a personal access token of openfoodfacts-bot to allow bypassing branch protection rules
token: "${{ secrets.README_WRITER_PAT }}"
- name: Set up python
uses: actions/[email protected]
with:
python-version: '3.9'
- run: |
pip install -r scripts/readme-writer/requirements.txt
python scripts/readme-writer/readme_writer.py
cat README.md
- name: Commit README.md
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: develop
repository: .
file_pattern: README.md
commit_message: Update README.md
commit_options: '--no-verify --signoff'