forked from sigstore/rekor-search-ui
-
Notifications
You must be signed in to change notification settings - Fork 3
56 lines (46 loc) · 1.24 KB
/
reviewdog.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright 2022 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0
name: 🐶 reviewdog
on:
pull_request:
branches: ["main"]
jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: reviewdog/action-eslint@v1
with:
reporter: github-check
eslint_flags: "src/"
action-lint:
name: Action lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Find yamls
id: get_yamls
run: |
yamls=$(find .github -name "*.y*ml" | grep -v dependabot.)
echo "::set-output name=files::${yamls}"
- name: Action lint
uses: reviewdog/action-actionlint@v1
with:
actionlint_flags: ${{ steps.get_yamls.outputs.files }}
spacing:
name: Spacing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chainguard-dev/actions/trailing-space@main
- uses: chainguard-dev/actions/eof-newline@main
donotsubmit:
name: Do not submit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chainguard-dev/actions/donotsubmit@main