Skip to content

add fail_on_error

add fail_on_error #5

name: CTHUB prettier test
on:
push:
branches: [ prettier-0.3.0 ]
workflow_dispatch:
jobs:
test-prettier:
name: prettier
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write **/*.{js,md}
- name: Run python black code formatter
uses: DataDog/[email protected]
with:
check_mode: "true"
fail_on_error: "false"