-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (60 loc) · 1.56 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Lint
on:
pull_request: {}
jobs:
spellcheck:
runs-on: ubuntu-latest
permissions:
checks: write
contents: write
issues: write
pull-requests: write
steps:
- uses: hmarr/debug-action@v2
- name: git checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Spellcheck Files
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
locale: "US"
reporter: github-pr-review
path: |
src/com/spicy
exclude: |
./.clj-kondo/*
filter_mode: file
ignore: cancelled,optimise,transito
labeler:
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v2
- name: git checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Label Pull Request
uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true
clj-kondo:
name: runner / clj-kondo
runs-on: ubuntu-latest
permissions:
checks: write
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/[email protected]
- name: clj-kondo
uses: nnichols/clojure-lint-action@v2
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true