Skip to content

kube-state-metrics merger #1106

kube-state-metrics merger

kube-state-metrics merger #1106

name: kube-state-metrics merger
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' #@daily
pull_request:
paths:
- '.github/workflows/merge-flow.yaml'
- '.github/workflows/merge-kube-state-metrics.yaml'
push:
paths:
- '.github/workflows/merge-flow.yaml'
- '.github/workflows/merge-kube-state-metrics.yaml'
jobs:
kube-state-metrics-merge:
uses: ./.github/workflows/merge-flow.yaml
with:
upstream: kubernetes/kube-state-metrics
downstream: openshift/kube-state-metrics
sandbox: rhobs/kube-state-metrics
restore-upstream: |
CHANGELOG.md .github/ Dockerfile docs/ go.mod
restore-downstream: OWNERS
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.APP_ID }}
pr-app-private-key: ${{ secrets.APP_PRIVATE_KEY }}
cloner-app-id: ${{ secrets.CLONER_APP_ID }}
cloner-app-private-key: ${{ secrets.CLONER_APP_PRIVATE_KEY }}
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}