-
-
Notifications
You must be signed in to change notification settings - Fork 103
43 lines (38 loc) · 939 Bytes
/
lint.yml
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
42
43
name: Lint
on:
workflow_dispatch:
pull_request:
paths-ignore:
- 'docs/**'
- 'website/**'
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'website/**'
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup and Build
uses: ./.github/actions/install-build-cache
with:
node-version: 22.x
- name: Lint
run: pnpm run lint
- name: PR Auto Fix Lint
if: github.event.ref == 'refs/heads/main'
uses: ./.github/actions/pr
with:
body: |
# Fix Lint Issues
commit-message: 'ci: Fix Lint -- Workflow Bot'
branch: update-fix-lint
title: >-
ci: Fix Lint -- Workflow Bot
app_id: ${{ secrets.AUTOMATION_APP_ID }}
app_private_key: ${{ secrets.AUTOMATION_PRIVATE_KEY }}