-
Notifications
You must be signed in to change notification settings - Fork 18
74 lines (73 loc) · 2.79 KB
/
checks.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
67
68
69
70
71
72
73
74
name: checks
on:
pull_request:
jobs:
check-docs:
runs-on: ubuntu-latest
name: Check Documentation formatting and links
steps:
- uses: actions/checkout@v3
- name: Import environment variables from file
run: cat ".github/env" >> $GITHUB_ENV
- uses: actions/setup-go@v4
with:
go-version: '${{ env.golang-version }}'
- uses: actions/cache@v3
with:
path: .mdoxcache
key: mdoxcache
- run: make check-docs
check-changelog-updates:
if: github.event.label.name != 'skip changelog'
runs-on: ubuntu-latest
name: Check changelog update
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: dorny/paths-filter@v2
id: filter
with:
filters: | # Determine where the change occured and run the appropriate check.
logs-fluent-bit-coralogix:
- 'logs/fluent-bit/k8s-helm/coralogix/**'
logs-fluent-bit-http:
- 'logs/fluent-bit/k8s-helm/http/**'
logs-fluentd-coralogix:
- 'logs/fluentd/k8s-helm/coralogix/**'
logs-fluentd-http:
- 'logs/fluentd/k8s-helm/http/**'
ec2-otel-agent:
- 'otel-agent/ecs-ec2/**'
k8s-otel-agent:
- 'otel-agent/k8s-helm/**'
otel-infrastructure-collector:
- 'otel-infrastructure-collector/k8s-helm/**'
otel-integration:
- 'otel-integration/k8s-helm/**'
metrics-prometheus-agent:
- 'metrics/prometheus-agent/**'
metrics-prometheus-operator:
- 'metrics/prometheus/operator/**'
# Look for diff in the changelog file.
- name: Logs Changelog
if: steps.filter.outputs.logs-fluent-bit-coralogix == 'true' ||
steps.filter.outputs.logs-fluent-bit-http == 'true' ||
steps.filter.outputs.logs-fluentd-http == 'true' ||
steps.filter.outputs.logs-fluentd-http == 'true'
run: scripts/changelog_check.sh logs
- name: OpenTelemetry Agent K8S Changelog
if: steps.filter.outputs.k8s-otel-agent == 'true'
run: scripts/changelog_check.sh otel-agent/k8s-helm
- name: OpenTelemetry Agent EC2 Changelog
if: steps.filter.outputs.ec2-otel-agent == 'true'
run: scripts/changelog_check.sh otel-agent/ecs-ec2
- name: OpenTelemetry Infrastructure Collector Changelog
if: steps.filter.outputs.otel-infrastructure-collector == 'true'
run: scripts/changelog_check.sh otel-infrastructure-collector
- name: OpenTelemetry Integration Changelog
if: steps.filter.outputs.otel-integration == 'true'
run: scripts/changelog_check.sh otel-integration
- name: Prometheus Agent Changelog
if: steps.filter.outputs.metrics-prometheus-agent == 'true'
run: scripts/changelog_check.sh metrics/prometheus-agent