Skip to content

Merge pull request #100 from simonpasquier/bump-actions #1100

Merge pull request #100 from simonpasquier/bump-actions

Merge pull request #100 from simonpasquier/bump-actions #1100

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 }}