Skip to content

Add format checker (copied from php-src) #1

Add format checker (copied from php-src)

Add format checker (copied from php-src) #1

Workflow file for this run

name: Docs
on:
push:
branches:
- master
paths:
- *.rst

Check failure on line 7 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
pull_request:
paths:
- *.rst
jobs:
pages:
runs-on: ubuntu-22.04
permissions:
pages: write
id-token: write
if: github.repository == 'php/php-src'
steps:
- name: git checkout
uses: actions/checkout@v4
- name: Install dependencies
run: pip install sphinx-design sphinxawesome-theme rstfmt
- name: Check formatting
run: rstfmt --check -w 80 *.rst