Skip to content

Commit

Permalink
style: reformat GitHub Actions YAML for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSkelskey committed Oct 29, 2024
1 parent 1a16c33 commit 209e145
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: AutoPretty

on:
pull_request:
branches:
- "dev"
push:
branches:
- "dev"
pull_request:
branches:
- 'dev'
push:
branches:
- 'dev'

jobs:
prettier:
runs-on: ubuntu-latest
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}
fetch-depth: 0
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}
fetch-depth: 0

- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write "**/*.{js,ts,md,json}" --config .prettierrc
only_changed: False
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write "**/*.{js,ts,md,json}" --config .prettierrc
only_changed: False

0 comments on commit 209e145

Please sign in to comment.