oncall-engine/.github/workflows/verify-public-docs-updated.yml
Joey Orlando b26706e7e4
configure yamllint pre-commit step (#2728)
# What this PR does

Add [`yamllint`](https://github.com/adrienverge/yamllint) to
`pre-commit` configuration + fix pre-existing errors

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-08-03 02:35:08 -04:00

20 lines
670 B
YAML

name: Verify public documentation updated
"on":
pull_request:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
- dev
jobs:
verify-public-docs-updated:
name: Verify public documentation updated
# Don't run this job if the "no public docs" label is applied to the PR
# https://github.com/orgs/community/discussions/26712#discussioncomment-3253012
if: "!contains(github.event.pull_request.labels.*.name, 'pr:no public docs')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Public documentation checker
run: ./.github/verify-public-docs-updated.sh