forked from coderabbitai/coderabbit-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 827 Bytes
/
fix.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Fix
on:
pull_request:
branches: main
jobs:
fix:
runs-on: ubuntu-latest
permissions:
contents: write
if: github.actor != 'github-actions[bot]'
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- run: pnpm run lint:fix
- run: git add .
- uses: qoomon/actions--create-commit@v1
id: actions--create-commit
with:
message: |
🎨 pnpm run lint:fix
[dependabot skip]
skip-empty: true
- if: ${{ steps.actions--create-commit.outputs.commit }}
run: git push