forked from andychase/gbajs2
-
Notifications
You must be signed in to change notification settings - Fork 27
44 lines (39 loc) · 1.04 KB
/
unprotected.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
name: Unprotected
on:
push:
branches: ['**', '!master']
pull_request:
branches: ['**', '!master']
jobs:
change-detect:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
admin: ${{ steps.filter.outputs.admin }}
auth: ${{ steps.filter.outputs.auth }}
gbajs3: ${{ steps.filter.outputs.gbajs3 }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
admin:
- 'docker/server/admin/**'
auth:
- 'docker/server/auth/**'
gbajs3:
- 'gbajs3/**'
admin:
needs: change-detect
if: needs.change-detect.outputs.admin == 'true'
uses: ./.github/workflows/admin.workflow.yml
auth:
needs: change-detect
if: needs.change-detect.outputs.auth == 'true'
uses: ./.github/workflows/auth.workflow.yml
gbajs3:
needs: change-detect
if: needs.change-detect.outputs.gbajs3 == 'true'
uses: ./.github/workflows/gbajs3.workflow.yml