-
Notifications
You must be signed in to change notification settings - Fork 12
66 lines (64 loc) · 2.24 KB
/
changes.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
name: Changes
on:
workflow_call:
outputs:
ckan:
description: "Change in ckan container"
value: ${{ jobs.changes_in_containers.outputs.ckan }}
drupal:
description: "Change in drupal container"
value: ${{ jobs.changes_in_containers.outputs.drupal }}
nginx:
description: "Change in nginx container"
value: ${{ jobs.changes_in_containers.outputs.nginx }}
solr:
description: "Change in solr container"
value: ${{ jobs.changes_in_containers.outputs.solr }}
datapusher:
description: "Change in datapusher container"
value: ${{ jobs.changes_in_containers.outputs.datapusher }}
clamav:
description: "Change in clamav container"
value: ${{ jobs.changes_in_containers.outputs.clamav }}
assets:
description: "Change in assets"
value: ${{ jobs.changes_in_containers.outputs.assets }}
environment:
description: "Changes in docker environment"
value: ${{ jobs.changes_in_containers.outputs.environment }}
jobs:
changes_in_containers:
runs-on: ubuntu-latest
outputs:
ckan: ${{ steps.filter.outputs.ckan }}
drupal: ${{ steps.filter.outputs.drupal }}
nginx: ${{ steps.filter.outputs.nginx }}
solr: ${{ steps.filter.outputs.solr }}
datapusher: ${{ steps.filter.outputs.datapusher }}
clamav: ${{ steps.filter.outputs.clamav }}
assets: ${{ steps.filter.outputs.assets }}
environment: ${{ steps.filter.outputs.environment }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- uses: nrwl/nx-set-shas@v4
id: last_successful_commit
with:
main-branch-name: 'master'
workflow-id: 'master.yml'
- uses: dorny/paths-filter@v3
id: filter
with:
initial-fetch-depth: '10'
base: ${{ steps.last_successful_commit.outputs.base }}
filters: |
ckan: ckan/**
drupal: drupal/**
solr: docker/solr/**
datapusher: docker/datapusher-plus/**
clamav: clamav/clamav-docker/**
nginx: docker/nginx/**
assets: opendata-assets/**
environment: docker/*