mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
688 B
28 lines
688 B
name: 💄 GA-Misc - Check-Prettier |
|
|
|
on: |
|
pull_request: |
|
paths-ignore: |
|
- '.github/**' |
|
branches: [master] |
|
|
|
jobs: |
|
GA-Misc-Check-Prettier: |
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
- name: 🐧 Checkout |
|
uses: actions/checkout@v3 |
|
with: |
|
ref: ${{ github.head_ref }} |
|
fetch-depth: 0 |
|
|
|
- name: 💄 Run Prettier |
|
uses: creyD/prettier_action@v4.3 |
|
with: |
|
prettier_options: --write **/*.{js,md,yml,json,sh} |
|
prettier_plugins: 'prettier-plugin-sh' |
|
commit_message: "chore(codebase): format with prettier" |
|
only_changed: True |
|
env: |
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|