-
Notifications
You must be signed in to change notification settings - Fork 224
48 lines (42 loc) · 1.33 KB
/
check-feature-manifests.yml
File metadata and controls
48 lines (42 loc) · 1.33 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
name: Feature Manifest Tests
on:
push:
branches:
- main
pull_request:
merge_group:
types: [checks_requested]
jobs:
check:
name: "Check Local Feature Manifests"
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: ./.github/actions/check-changed-paths
id: check-paths
with:
paths: "experimenter/experimenter/features/manifests/ experimenter/manifesttool/ application-services/"
- uses: ./.github/actions/setup-cached-build
if: steps.check-paths.outputs.should-run == 'true'
- uses: ./.github/actions/retry
if: steps.check-paths.outputs.should-run == 'true'
with:
label: Build experimenter dev image
run: |
cp .env.sample .env
make build_dev
- name: Check local feature manifests
if: steps.check-paths.outputs.should-run == 'true'
run: |
make feature_manifests FETCH_ARGS="--local-apps"
if ! git diff --quiet experimenter/experimenter/features/manifests/; then
echo 'Please commit generated updates to local feature manifests:'
echo
echo ' make feature_manifests FETCH_ARGS="--local-apps"'
echo
exit 1
fi