We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 825a125 commit 2486ca5Copy full SHA for 2486ca5
.github/workflows/black-lint.yml
@@ -1,13 +1,8 @@
1
name: black-linter
2
3
on:
4
- pull_request_target:
5
- types:
6
- - opened
7
- - edited
8
- - synchronize
9
- branches:
10
- - main
+ push: {}
+ pull_request: {}
11
12
jobs:
13
build:
.github/workflows/pretter-lint.yml
@@ -0,0 +1,22 @@
+name: prettier-linter
+
+on:
+jobs:
+ prettier:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
14
+ with:
15
+ ref: ${{ github.head_ref }}
16
+ fetch-depth: 0
17
18
+ - name: Prettify code
19
+ uses: creyD/prettier_action@v4.3
20
21
+ prettier_options: --write **/*.{md,js,ts}
22
+ only_changed: True
0 commit comments