Skip to content

Merge pull request #230 from Automattic/fix-mariadb-auth #53

Merge pull request #230 from Automattic/fix-mariadb-auth

Merge pull request #230 from Automattic/fix-mariadb-auth #53

Workflow file for this run

name: Generate docs
on:
push:
branches:
- trunk
paths:
- 'features/src/**/devcontainer-feature.json'
- 'features/src/**/NOTES.md'
- '.github/workflows/generate-docs.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
generate-feature-docs:
name: Generate documentation for features
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Generate documentation
uses: devcontainers/action@528049dce833673f136ddfc09c2720d450029a6b # v1.4.2
with:
generate-docs: true
base-path-to-features: ./features/src
- name: Create a PR for documentation
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
with:
add-paths: ':(glob)features/src/**/README.md'
commit-message: 'docs: automated documentation update'
title: 'docs: automated documentation update'
body: 'Update documentation for features'
labels: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}