datahub/.github/workflows/yaml-format.yml
2025-05-05 16:21:34 -07:00

31 lines
680 B
YAML

name: yaml format
on:
push:
branches:
- master
paths:
- "**/*.{yml,yaml}"
pull_request:
branches:
- "**"
paths:
- "**/*.{yml,yaml}"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
yaml_format_check:
name: yaml_format_check
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: acryldata/sane-checkout-action@v3
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: run prettier --check
run: |-
./gradlew :datahub-web-react:githubActionsPrettierCheck