Skip to content

format yaml

format yaml #9

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,yaml}
- name: pwd
run: |
pwd
ls -l
- name: Run python black code formatter
uses: DataDog/[email protected]
with:
fail_on_error: "false"
- name: Commit Python files
uses: EndBug/[email protected]
with:
add: 'django'
committer_name: 'kuan'
message: 'python files changed after formater DataDog/action-py-black-formatter'