-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (46 loc) · 1.34 KB
/
push.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
name: Checks for push
on: push
jobs:
path-filter:
outputs:
markdown: ${{steps.changes.outputs.markdown}}
actions: ${{steps.changes.outputs.actions}}
ts: ${{steps.changes.outputs.ts}}
runs-on: ubuntu-latest
permissions: {}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
with:
filters: |
markdown:
- ./**/*.md
actions:
- .github/workflows/*.yml
- .github/workflows/*.yaml
- aqua.yaml
ts:
- .github/workflows/push.yml
- .github/workflows/_check-deno.yml
- ./**/*.ts
- deno.jsonc
check-markdown:
needs: path-filter
if: needs.path-filter.outputs.markdown == 'true'
uses: ./.github/workflows/_check-markdown.yml
permissions: {}
with:
globs: "./**/*.md"
check-actions:
needs: path-filter
if: needs.path-filter.outputs.actions == 'true'
uses: ./.github/workflows/_check-actions.yml
permissions:
contents: read
check-deno:
needs: path-filter
if: needs.path-filter.outputs.ts == 'true'
uses: ./.github/workflows/_check-deno.yml
permissions:
contents: read