-
-
Notifications
You must be signed in to change notification settings - Fork 23
50 lines (45 loc) · 1.14 KB
/
fallow-web-client.yml
File metadata and controls
50 lines (45 loc) · 1.14 KB
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
---
name: Fallow web client
# yamllint disable-line rule:truthy
on:
push:
branches:
- dev
paths:
- "web-client/**"
- ".fallowrc.json"
- ".github/workflows/fallow-web-client.yml"
pull_request:
types:
- opened
- synchronize
paths:
- "web-client/**"
- ".fallowrc.json"
- ".github/workflows/fallow-web-client.yml"
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fallow:
name: Fallow
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Run Fallow on changed files
if: github.event_name != 'workflow_dispatch'
uses: fallow-rs/fallow@v2
with:
root: .
format: sarif
changed-since: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
- name: Run Fallow full scan
if: github.event_name == 'workflow_dispatch'
uses: fallow-rs/fallow@v2
with:
root: .
format: sarif