-
Notifications
You must be signed in to change notification settings - Fork 543
30 lines (25 loc) · 1.14 KB
/
helm-weekly-release-pr.yaml
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
name: helm-weekly-release-pr
on:
schedule:
- cron: '0 10 * * 1-5' # 10 UTC on weekdays; if we miss published images one day, they should align the day after
workflow_dispatch: # for manual testing
jobs:
weekly-release-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: imjasonh/[email protected]
- name: Update/regenerate files
id: update
run: bash .github/workflows/scripts/helm-weekly-release.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GH_BOT_ACCESS_TOKEN }}
title: Release mimir-distributed Helm chart ${{ steps.update.outputs.new_chart_version }}
body: Automated PR created by [helm-weekly-release-pr.yaml](https://github.com/grafana/mimir/blob/main/.github/workflows/helm-weekly-release-pr.yaml)
commit-message: Update mimir-distributed chart to ${{ steps.update.outputs.new_chart_version }}
author: grafanabot <[email protected]>
branch: helm-chart-weekly-${{ steps.update.outputs.new_chart_version }}
base: main
labels: helm