-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathmerge-acm-kube-state-metrics.yaml
More file actions
35 lines (33 loc) · 1.17 KB
/
merge-acm-kube-state-metrics.yaml
File metadata and controls
35 lines (33 loc) · 1.17 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
name: ACM kube-state-metrics merger
on:
workflow_dispatch:
schedule:
- cron: '0 0 1,15 * *' #@biweekly
pull_request:
paths:
- '.github/workflows/merge-acm-flow.yaml'
- '.github/workflows/merge-acm-kube-state-metrics.yaml'
push:
paths:
- '.github/workflows/merge-acm-flow.yaml'
- '.github/workflows/merge-acm-kube-state-metrics.yaml'
jobs:
kube-state-metrics-merge:
uses: ./.github/workflows/merge-acm-flow.yaml
with:
upstream: kubernetes/kube-state-metrics
downstream: stolostron/kube-state-metrics
sandbox: rhobs/acm-kube-state-metrics
restore-upstream: >-
CHANGELOG.md
restore-downstream: >-
OWNERS
docs
downstream-version-expression: |
sed -n -E 's/^version: \"*([0-9]+\.[0-9]+\.[0-9]+)\"$/v\1/p' https://raw.githubusercontent.com/openshift/kube-state-metrics/main/data.yaml
secrets:
pr-app-id: ${{ secrets.ACM_APP_ID }}
pr-app-private-key: ${{ secrets.ACM_APP_PRIVATE_KEY }}
cloner-app-id: ${{ secrets.ACM_CLONER_APP_ID }}
cloner-app-private-key: ${{ secrets.ACM_CLONER_APP_PRIVATE_KEY }}
slack-webhook-url: ${{ secrets.ACM_SLACK_WEBHOOK_URL }}