Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow for Automating PR Creation for Release Updates #112

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AshwinSriram11
Copy link
Member

Closes prometheus-operator/prometheus-operator#6877. With this workflow, a PR will be automatically created when the upstream release in prometheus-operator repository does not match the release version in https://github.com/prometheus-operator/website/blob/main/data/prometheusOperator.json.

.github/workflows/website-release-update.yaml Outdated Show resolved Hide resolved
.github/workflows/website-release-update.yaml Outdated Show resolved Hide resolved
.github/workflows/website-release-update.yaml Outdated Show resolved Hide resolved
.github/workflows/website-release-update.yaml Outdated Show resolved Hide resolved
.github/workflows/website-release-update.yaml Outdated Show resolved Hide resolved
@ArthurSens
Copy link
Member

Discussed this today, some plans for testing:

  • Create a new branch and change the operator version to any that we've released in the past
  • Update this PR to update that branch instead of main, also add on: dispatch... so we can manually trigger this.
  • Merge this PR
  • Run workflow, fix it if it fails
  • New PR updating workflow target to main
  • Profit!!!

name: Check and Update Release Version

on:
schedule:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would enable to trigger the workflow manually (and not wait for the cronjob).

Suggested change
schedule:
workflow_dispatch:
schedule:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate PR Creation for New Prometheus-Operator Releases
5 participants